package
0.0.0-20241123010159-ea9d1afb4e8a
Repository: https://github.com/kitech/gopp.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
get go func by name, just like dlsym export Dlsymgo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
////////// todo 也许还需要做类型转换,像Pointer类型,可能要转换为voidptr todo 实现为prepare,也许可以提高一点效率 todo purego传递结构体,成员类型不支持变长类型,int/uintptr/voidptr 支持浮点数返回值 支持primitive类型参数,以及 Pointer/voidptr, C.type 不支持结构体类型,类RECORD类型 不支持go的map/slice/chan 支持go能够支持的任意多个参数 支持go string 传递参数,自动转换为charptr。但是C端不要持有该字符串指针,函数调用完成释放掉的 go string 转换为 const char*,如果C端要持有该参数所有权,则调用前自己分配char*参数 如果没有返回值,使用FfiCall[int]()即可 Usage1: FfiCall[float64]().
No description provided by the author
Ffi3 Prep Call 9999 9.54493ms 954ns 1048218 /s Ffi3Call 9999 23.591148ms 2.359µs 423908 /s Ffi2Call 9999 17.42031ms 1.742µs 574052 /s.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
todo ; or not??? full: true, java type name full: false, java sig name String,作为参数,必须带L前缀和;后缀 String,作为返回值,???.
note: 只支持基础类型和String todo 还有些分号没有处理好,结尾有的有分号有的没分号.
No description provided by the author
cbfn return true stop see https://github.com/alangpierce/go-forceexport/blob/master/forceexport.go.
No description provided by the author
No description provided by the author
No description provided by the author
go的方法不能带模板类型!!! 不支持float/double类型参数和返回值 support args: string/int/todo support ret: string/int/todo.
这个check是在go空间执行的不准确.
似乎这个不管用,是因为忽略了参数中的env,这个env是和当前线程绑定的 在不能保证线程是否为JVM线程时,使用参数中的JNIEnv变量.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
charptr.
No description provided by the author
maybe go native support is comming https://github.com/golang/go/issues/975 https://github.com/golang/go/issues/16623.
vtmpl + cmacro.

# Variables

No description provided by the author
No description provided by the author

# Structs

/// libffi like prepare method.

# Type aliases

jni没有查看类型的函数!!! jvalue 类型?.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
/// jobject, jclass, jstring, jarray..