2018-06-30 23:37:25 +02:00
|
|
|
/* File : example.i */
|
|
|
|
%module example
|
|
|
|
%{
|
|
|
|
/* Put headers and other declarations here */
|
2018-10-10 23:31:38 +02:00
|
|
|
#include "example.cxx"
|
2018-06-30 23:37:25 +02:00
|
|
|
%}
|
|
|
|
|
|
|
|
extern double My_variable;
|
|
|
|
extern int fact(int);
|
2018-10-10 23:31:38 +02:00
|
|
|
extern int my_mod(int n, int m);
|
|
|
|
|
|
|
|
extern int empty;
|
|
|
|
|
|
|
|
class webObj {
|
|
|
|
public:
|
|
|
|
int empty;
|
|
|
|
};
|