diff options
| author | ruki <[email protected]> | 2025-02-20 22:43:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-02-20 22:43:03 +0800 |
| commit | 48065b9580ec329b67a48ce4c7dd79c606ac2aa2 (patch) | |
| tree | 318be1b1affde940f5d09af1a4d4aeb1c8248dc6 /tests/projects/kotlin-native/shared_library/src/main.c | |
| parent | 0a438f8721806ae97b97c592a5dbc036c3f7ae4d (diff) | |
improve static/shared library for kotlin
Diffstat (limited to 'tests/projects/kotlin-native/shared_library/src/main.c')
| -rw-r--r-- | tests/projects/kotlin-native/shared_library/src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/kotlin-native/shared_library/src/main.c b/tests/projects/kotlin-native/shared_library/src/main.c new file mode 100644 index 000000000..55e16305d --- /dev/null +++ b/tests/projects/kotlin-native/shared_library/src/main.c @@ -0,0 +1,7 @@ +#include "libfoo_api.h" +#include <stdio.h> + +int main(int argc, char** argv) { + printf("add(1, 2) = %d\n", kotlin_add(1, 2)); + return 0; +} |
