PageRenderTime 49ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. /* file: example.h */
  2. extern int do_op(int,int, int (*op)(int,int));
  3. extern int add(int,int);
  4. extern int sub(int,int);
  5. extern int mul(int,int);
  6. extern int (*funcvar)(int,int);