demo: don't use symlinks for x/tools compatible

This commit is contained in:
Li Jie
2024-12-31 19:54:30 +08:00
parent 03b469212e
commit c602038597
14 changed files with 254 additions and 6 deletions

12
_demo/cgofull/foo.c Normal file
View File

@@ -0,0 +1,12 @@
#include <stdio.h>
#include "foo.h"
void print_foo(Foo *f)
{
printf("print_foo: %d\n", f->a);
}
int c_callback(int i)
{
return i + 1;
}