diff options
Diffstat (limited to 'Examples/python/funcptr/example.h')
-rw-r--r-- | Examples/python/funcptr/example.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Examples/python/funcptr/example.h b/Examples/python/funcptr/example.h new file mode 100644 index 0000000..9936e24 --- /dev/null +++ b/Examples/python/funcptr/example.h @@ -0,0 +1,9 @@ +/* file: example.h */ + +extern int do_op(int,int, int (*op)(int,int)); +extern int add(int,int); +extern int sub(int,int); +extern int mul(int,int); + +extern int (*funcvar)(int,int); + |