1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

docs: call_v_from_c example (#15844)

This commit is contained in:
Nicolas VENTER
2022-09-25 21:52:40 +02:00
committed by GitHub
parent 7f23abbf8c
commit 50820105a1
8 changed files with 95 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
extern void foo(const char* s);
int main()
{
foo("hello");
foo("bye");
}