🎉 Celebrating 25 Years of GameDev.net! 🎉
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!
Current module?
Hi,
is there any way I can retrieve the current module's name for the currently executing context?
Yiannis.
int funcID = ctx->GetCurrentFunction();printf("func: %s\n", engine->GetFunctionDeclaration(funcID));printf("mdle: %s\n", engine->GetModuleNameFromIndex(asMODULEIDX(funcID)));printf("sect: %s\n", engine->GetFunctionSection(funcID));printf("line: %d\n", ctx->GetCurrentLineNumber());
Regards,
Andreas
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement