c-for-go icon indicating copy to clipboard operation
c-for-go copied to clipboard

How to handle callback functions

Open TheFern2 opened this issue 3 years ago • 2 comments

What's the recommended way to dealing with callback funcs, any examples of current conversions doing this?


LIB_EXPORT int32_t plc_tag_create_ex(const char *attrib_str, void (*tag_callback_func)(int32_t tag_id, int event, int status, void *userdata), 

TheFern2 avatar Jul 05 '22 17:07 TheFern2