PageRenderTime 33ms CodeModel.GetById 25ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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