/test/language/unclassified/test_overload01_external_cpp.cpp

http://github.com/tybor/Liberty · C++ · 39 lines · 22 code · 5 blank · 12 comment · 0 complexity · d06263b509a67536b21e73c015319883 MD5 · raw file

  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. /*
  5. ANSI C code generated by SmartEiffel The GNU Eiffel Compiler, Eiffel tools and libraries
  6. Release 2.4 (??? June ??th 2008) [????]
  7. Copyright (C), 1994-2002 - INRIA - LORIA - ESIAL UHP Nancy 1 - FRANCE
  8. Copyright (C), 2003-2005 - INRIA - LORIA - IUT Charlemagne Nancy 2 - FRANCE
  9. D.COLNET, P.RIBET, C.ADRIAN, V.CROIZIER F.MERIZEN - SmartEiffel@loria.fr
  10. http://SmartEiffel.loria.fr
  11. C Compiler options used: -pipe -Os
  12. */
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #include "test_overload01_external_cpp.h"
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /* Extra external prototype for line 37 of /home/cyril/SmartEiffel/se/trunk/test_suite/language/unclassified/test_overload01.e:*/
  21. T2 cpp25cpp_value(T8 a1){
  22. return ((T2)((Overload*)a1)->value());
  23. }/*--*/
  24. /* Extra external prototype for line 51 of /home/cyril/SmartEiffel/se/trunk/test_suite/language/unclassified/test_overload01.e:*/
  25. T8 cpp25cpp_new(void){
  26. return ((T8)new Overload());
  27. }/*--*/
  28. /* Extra external prototype for line 44 of /home/cyril/SmartEiffel/se/trunk/test_suite/language/unclassified/test_overload01.e:*/
  29. void cpp25cpp_set_value(T8 a1,T2 a2){
  30. ((Overload*)a1)->value((int)a2);
  31. }/*--*/
  32. #ifdef __cplusplus
  33. }
  34. #endif