DynamicLibrary and void*


#1

From what I’m hearing, a pointer to function is not guaranteed to fit into a void*. This could be a problem with DynamicLibrary::getFunction(). I had to use a reinterpret_cast, which is an indicator of a possible issue.


#2

I think that C function pointers will always fit in a void*… Right…?

Obviously method pointers are a different story, but a library can only export C-style functions.