I have a "shared class" and I need to use a function outside the class. The compiler warns me that I must use "shared" for the function too. I believe this is correct?
However when these functions are "shared" it seems something isn't freed properly because I get this assert on angelscript release:
GC cannot free an object of type '_builtin_function_', it is kept alive by the application