/trunk/Examples/go/funcptr/example.h
C++ Header | 9 lines | 5 code | 3 blank | 1 comment | 0 complexity | c9e8b1acf5d8c724dbd9cd0e807cea19 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- /* 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);