swig/Examples/scilab/funcptr/example.i
2009-07-30 09:41:11 +00:00

11 lines
208 B
OpenEdge ABL

/* File : example.i */
%module example
%{
#include "example.h"
%}
/* Wrap a function taking a pointer to a function */
extern int do_op(int a, int b, int (*op)(int, int));
extern int (*funcvar)(int,int);