Sign in to follow this  
FDsagizi

How to call script class method from c++

Recommended Posts

FDsagizi    514
Hidden

[font=arial, sans-serif][size=2]so I call the "main"
but as now call Myrr () from the returned value?[/size][/font]
[font=arial, sans-serif][size=2]
[/size][/font][code]
int funcId = engine->GetModule(0)->GetFunctionIdByDecl("Dog @main()");
r = ctx->Prepare(funcId);
r = ctx->Execute();[/code]

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this