home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 3 / AACD03.BIN / AACD / Programming / sofa / archive / SmallEiffel.lha / SmallEiffel / lib_se / native_without_current.e < prev    next >
Text File  |  1999-06-05  |  2KB  |  72 lines

  1. --          This file is part of SmallEiffel The GNU Eiffel Compiler.
  2. --          Copyright (C) 1994-98 LORIA - UHP - CRIN - INRIA - FRANCE
  3. --            Dominique COLNET and Suzanne COLLIN - colnet@loria.fr
  4. --                       http://SmallEiffel.loria.fr
  5. -- SmallEiffel is  free  software;  you can  redistribute it and/or modify it
  6. -- under the terms of the GNU General Public License as published by the Free
  7. -- Software  Foundation;  either  version  2, or (at your option)  any  later
  8. -- version. SmallEiffel is distributed in the hope that it will be useful,but
  9. -- WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. -- or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU General Public License
  11. -- for  more  details.  You  should  have  received a copy of the GNU General
  12. -- Public  License  along  with  SmallEiffel;  see the file COPYING.  If not,
  13. -- write to the  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  14. -- Boston, MA 02111-1307, USA.
  15. --
  16. class NATIVE_WITHOUT_CURRENT
  17.  
  18. inherit NATIVE_C;
  19.  
  20. feature
  21.  
  22.    need_prototype: BOOLEAN is true;
  23.  
  24. feature
  25.  
  26.    language_name: STRING is
  27.       do
  28.          Result := fz_c_withoutcurrent;
  29.       end;
  30.  
  31.    stupid_switch(name: STRING): BOOLEAN is
  32.       do
  33.          Result := true;
  34.       end;
  35.  
  36.    jvm_add_method_for_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  37.       do
  38.       end;
  39.  
  40.    jvm_define_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  41.       do
  42.          fe_c2jvm(rf8);
  43.       end;
  44.  
  45.    jvm_mapping_function(rf8: RUN_FEATURE_8; bcn, name: STRING) is
  46.       do
  47.          fe_c2jvm(rf8);
  48.       end;
  49.  
  50.    jvm_add_method_for_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  51.       do
  52.       end;
  53.  
  54.    jvm_define_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  55.       do
  56.          fe_c2jvm(rf7);
  57.       end;
  58.  
  59.    jvm_mapping_procedure(rf7: RUN_FEATURE_7; bcn, name: STRING) is
  60.       do
  61.          fe_c2jvm(rf7);
  62.       end;
  63.  
  64. feature
  65.  
  66.    use_current(er: EXTERNAL_ROUTINE): BOOLEAN is
  67.       do
  68.       end;
  69.  
  70. end -- NATIVE_WITHOUT_CURRENT
  71.  
  72.