blob: e8af50e6ff474c77586ca63ae5a0eddc22bc02d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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);
|