c/ffi: import libffi

This commit is contained in:
visualfc
2024-10-22 20:28:08 +08:00
parent f7f1b4f594
commit b7d1ab6105
6 changed files with 358 additions and 0 deletions

7
c/ffi/abi_amd64.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build freebsd || linux || darwin
package ffi
const (
DefaultAbi Abi = 2
)