hello, i want use urho3d. for this, i need create class with functions. i made it
{.emit:"class MyApp:public Application{public:MyApp(Context* context):Application(context){}virtual void Setup();virtual void Start();virtual void Stop();};".}
proc Start{.codegenDecl:"$# MyApp::$#$#",exportc.}=discard
proc Stop{.codegenDecl:"$# MyApp::$#$#",exportc.}=discard
proc Setup{.codegenDecl:"$# MyApp::$#$#",exportc.}=discard
it works, but it is inconvenient. its better create macro class, like this https://nim-by-example.github.io/macros/, and use it. but i dont know, how create macro class i need, to use urho3d. pls, help me!