Is there a way to get rid of function added via asIScriptEngine::RegisterGlobalFunction()? I fail to find anything like that in docs or tests.
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Is there a way to get rid of function added via asIScriptEngine::RegisterGlobalFunction()? I fail to find anything like that in docs or tests.
You can use configuration groups for this. When registering the functions that needs to be removed later, you should do so in a configuration group. The entire configuration group can then be removed dynamically.