View Single Post
Old 03-31-2018, 01:27 PM   #353
azslow3
Human being with feelings
 
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
Default

Quote:
Originally Posted by fundorin View Post
Thanks. There should be an easier way than to add pointers to pointers. Hope that Justin can clarify, which is the best way to add third-party functions to an extension.
If you prefer more C++ way:
Code:
func = reinterpret_cast<double (*)(double)>reaper->GetFunc("Name")
I do not think I know any other possibility
azslow3 is offline   Reply With Quote