如何在Go中从指针调用共享对象函数(动态加载)?
作者:MauriceLambert 提问时间:10/5/2023
我尝试从 Go 中调用一些共享对象函数。我不想编写 C 注释代码来为所有函数构建 CGO 接口。 我是这样写我的共享对象的: #include <stdio.h> void greet(char...
shared-objects 问答列表
作者:MauriceLambert 提问时间:10/5/2023
我尝试从 Go 中调用一些共享对象函数。我不想编写 C 注释代码来为所有函数构建 CGO 接口。 我是这样写我的共享对象的: #include <stdio.h> void greet(char...