Search found 1 match

by jacksonliam341
Thu Feb 25, 2021 5:00 pm
Forum: General discussion
Topic: use a member function as wire2 callback function
Replies: 2
Views: 3674

Re: use a member function as wire2 callback function

Does callback function need to be declared under extern "C"?

NO. extern "C" is necessary only when you are calling a C++ function directly, without the use of function pointers, from C. If function pointers are used, extern "C" is not required.

Can I use non-static member functions as a callback ...

Go to advanced search