From ec6fd4eeca3fa468cffb25b472eb349c1fed06aa Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 22 Feb 2016 08:49:20 +0800 Subject: modify tests script --- tests/static_library_c++/src/interface.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/static_library_c++/src/interface.h (limited to 'tests/static_library_c++/src/interface.h') diff --git a/tests/static_library_c++/src/interface.h b/tests/static_library_c++/src/interface.h new file mode 100755 index 000000000..4a41e9597 --- /dev/null +++ b/tests/static_library_c++/src/interface.h @@ -0,0 +1,16 @@ +#ifdef __cplusplus +extern "C" { +#endif + +/*! calculate add(a, b) + * + * @param a the first argument + * @param b the second argument + * + * @return the result + */ +int add(int a, int b); + +#ifdef __cplusplus +} +#endif -- cgit v1.3.1