diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-12 18:36:38 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-12 18:36:38 -0500 |
| commit | 4dd15aa7d7c2aae0e4d96e4ac0a4c1423afd396e (patch) | |
| tree | ef8931b3bee0cfed69b6a965373d43b5a599d535 /tests/include/test2.hpp | |
| parent | d6e69dbf84e3f2c85e24a62c7bd3bb56090ca2da (diff) | |
| download | nimterop-issue169.tar.gz nimterop-issue169.zip | |
Fix #169 - header pragma omitted by defaultissue169
Diffstat (limited to 'tests/include/test2.hpp')
| -rw-r--r-- | tests/include/test2.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/include/test2.hpp b/tests/include/test2.hpp index 0fd90ee..2f9a281 100644 --- a/tests/include/test2.hpp +++ b/tests/include/test2.hpp @@ -4,11 +4,13 @@ #define TEST_FLOAT 5.12 #define TEST_HEX 0x512 -int test_call_int(); +extern "C" { + int test_call_int(); -struct Foo{ - int bar; -}; + struct Foo{ + int bar; + }; +} class Foo1{ int bar1; |
