| 42 | } |
| 43 | |
| 44 | void callMethodOfBar(){ |
| 45 | asIScriptContext* ctx = gEngine->CreateContext(); |
| 46 | |
| 47 | asIScriptFunction* func= gBarType->GetMethodByDecl("void method()"); |
| 48 | ctx->Prepare(func); |
| 49 | ctx->SetObject(gBar); |
| 50 | ctx->Execute(); |
| 51 | |
| 52 | ctx->Release(); |
| 53 | } |
| 54 | |
| 55 | template <typename T> |
| 56 | void defaultConstruct(T* memory){ |
no test coverage detected