1. 准备三个文件test.c, test.h, main.c 2. 编译生成so文件 3. 编译生成main 通过函数指针回调函数 test.h test.c main.c 编译test.so 编译main 执行测试 c回调函数