Obsolete
/
libipc-old
Archived
3
0
Fork 0

Example code: C code working with Zig functions.

master
Philippe Pittoli 2023-01-13 02:06:19 +01:00
parent 32fd31934c
commit d585ffb8ee
1 changed files with 13 additions and 0 deletions

13
zig-impl/drop/src/main.c Normal file
View File

@ -0,0 +1,13 @@
#include <stdio.h>
int main(void) {
int ret = someipc(20,10);
printf("hello %d\n", ret);
void *somestructure = NULL;
some_struct_bidouillage_init(&somestructure);
int value = some_struct_bidouillage_update(&somestructure);
printf("value %d\n", value);
return 0;
}