#181
undefined: sizeOfStruct
I'm getting and "undefined: sizeOfStruct" message for one of my types. This is a parameter in a callback function that isn't instantiated in any other function.
typedef struct lgGpioAlert_s
{
lgGpioReport_t report;
int nfyHandle;
} lgGpioAlert_t, *lgGpioAlert_p;
typedef void (*lgGpioAlertsFunc_t) (int num_alerts,
lgGpioAlert_p alerts,
void *userdata);
Here is the code full project. I wasn't sure how a PtrTip would work for this since there is no actual function
https://github.com/ABrilliantBeast/go-lgpio
bryans@raspberrypi:~/Code/lggo $ make test cd lg && go build # go-lgpio ./cgo_helpers.go:774:20: undefined: sizeOfStruct_lgGpioAlertValue make: *** [Makefile:10: test] Error 1
Activity
0No activity yet.