O
Oliver Kowalke
Hello,
I've to use a function from c-library (third party) which expects a
function pointer (void(*FunctionPointer)(int)). Instead of using a
global function (with the signature of the function pointer) I'de like
to use a functor (in order to provide a statefull function). Is this
possible? If yes how?
thx,
Oliver
I've to use a function from c-library (third party) which expects a
function pointer (void(*FunctionPointer)(int)). Instead of using a
global function (with the signature of the function pointer) I'de like
to use a functor (in order to provide a statefull function). Is this
possible? If yes how?
thx,
Oliver