14 lines
356 B
OpenEdge ABL
14 lines
356 B
OpenEdge ABL
|
/* Example from the SWIG tutorial */
|
||
|
%module test_swig
|
||
|
%{
|
||
|
/* Put header files here or function declarations like below */
|
||
|
extern double My_variable;
|
||
|
extern int fact(int n);
|
||
|
extern int my_mod(int x, int y);
|
||
|
extern char *get_time();
|
||
|
%}
|
||
|
|
||
|
extern double My_variable;
|
||
|
extern int fact(int n);
|
||
|
extern int my_mod(int x, int y);
|
||
|
extern char *get_time();
|