diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2018-12-27 22:42:55 -0600 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-12-27 22:42:55 -0600 |
| commit | 21bd2d4112e5bf40d3fe52435cc15ccd5d4ad71a (patch) | |
| tree | 0d3fb8f8f5f45943309e2bcf7327b1cbd57b2f04 /tests/include/test.c | |
| parent | c7a3c7b7d606b00fa1c676e244c39002b8fc1609 (diff) | |
| download | nimterop-21bd2d4112e5bf40d3fe52435cc15ccd5d4ad71a.tar.gz nimterop-21bd2d4112e5bf40d3fe52435cc15ccd5d4ad71a.zip | |
Struct field function pointers, cstring, show toast error in cimport
Diffstat (limited to 'tests/include/test.c')
| -rw-r--r-- | tests/include/test.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/include/test.c b/tests/include/test.c index d63c974..3a59ffc 100644 --- a/tests/include/test.c +++ b/tests/include/test.c @@ -48,4 +48,10 @@ unsigned char test_call_param6(UNION2 param1) { int test_call_param7(union UNION1 param1) { return param1.field1; +} + +float test_call_param8(int *param1) { + *param1 = 5 * *param1; + + return 1.0 * *param1; }
\ No newline at end of file |
