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:
7
examples/call_v_from_c/test_print.c
Normal file
7
examples/call_v_from_c/test_print.c
Normal file
@@ -0,0 +1,7 @@
|
||||
extern void foo(const char* s);
|
||||
|
||||
int main()
|
||||
{
|
||||
foo("hello");
|
||||
foo("bye");
|
||||
}
|
Reference in New Issue
Block a user