You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This struct has several callback/function ptr members. For the members with return type int it appears c-for-go handles this correctly. If the type is something not recognized as built in ex uint8_t, c-for-go is not expanding the type of the member but stopping at the return type. Ex:
// C def
int (*name_cmp) (TSK_FS_INFO *, const char *, const char *); ///< \internal
// c-for-go out
name_cmp *func(arg0 []TSK_FS_INFO, arg1 []byte, arg2 []byte) int32
I a was attempting to create a set of bindings for libtsk: https://github.com/sleuthkit/sleuthkit
Having some trouble on the following struct:
https://github.com/sleuthkit/sleuthkit/blob/develop/tsk/fs/tsk_fs.h#L1000
This struct has several callback/function ptr members. For the members with return type
int
it appears c-for-go handles this correctly. If the type is something not recognized as built in exuint8_t
, c-for-go is not expanding the type of the member but stopping at the return type. Ex:Is correct, but getting
Sample yml I am working with to tweak:
Full generated output for TSK_FS_INFO
The text was updated successfully, but these errors were encountered: