开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
cgo

cgo

go

Is there a graceful way to pass large byte slice or io.Reader to c through cgo without memory copy?

英文: Is there a graceful way to pass large byte slice or io.Reader to c through cgo without memory co...
huangapple 2021年10月18日197评论cgo go
go

Stringer无法从C枚举生成具有值的常量。

英文: Stringer can't generate constants with values from C enum 问题 我正在尝试在本地运行CGO项目https://github.c...
huangapple 2021年10月14日172评论c go
go

golang与cgo一起使用时出现错误:collect2: error: ld returned 1 exit status。

英文: golang with cgo throws error collect2: error: ld returned 1 exit status 问题 我正在编译一个包含使用cgo集成共享C库的...
huangapple 2021年10月8日159评论go linux
go

在Python中使用Go共享库时遇到“指针被释放但未分配”的错误。

英文: Getting "pointer being freed was not allocated" error with using a go shared lib in py...
huangapple 2021年10月2日159评论go python-3.x
go

有没有一种方法可以直接将 Golang 字符串复制到预分配的 C 字符缓冲区中?

英文: Is there a way to directly copy golang strings to a pre-allocated C char buffer 问题 我有一个变量(但在组合大小...
huangapple 2021年10月2日166评论go string
go

how to specify header file and library path when building a go program which import a cgo package?

英文: how to specify header file and library path when building a go program which import a cgo packag...
huangapple 2021年9月28日148评论cgo go
go

无法运行程序:collect2: 错误:ld 返回 1 退出状态

英文: Unable to run program: collect2: error: ld returned 1 exit status 问题 我已经在https://stackoverflow.c...
huangapple 2021年9月27日221评论c go
go

为什么来自CGO的字节缓冲区可以正确读取,但写入时出错?

英文: Why a byte buffer from CGO can reads correctly but write fault? 问题 我正在使用这个库https://github.com/bi...
huangapple 2021年9月26日160评论cgo go
go

如何在cgo中将golang字符串添加到C结构体中

英文: How to add a golang string to a c struct in cgo 问题 如何将我在cgo中创建的c结构体中的golang字符串添加到c结构体中?以下是代码: pa...
huangapple 2021年9月22日171评论c go
go

CGO build go file with cygwin and openssl

英文: CGO build go file with cygwin and openssl 问题 你好!根据你提供的信息,你在尝试编译一些包含C代码并使用openssl库的Go代码。你使用的是Wind...
huangapple 2021年9月18日149评论cgo go
28

文章导航

1 2 3 4 5 6 7 8 9 10 … 28
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客16998267

热门标签

reactjs java node.js r html python javascript arrays c++ flutter json c# pandas spring-boot typescript sql css android spring go

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码