🎉 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?

Started by
1 comment, last by mandrav 18 years, 8 months ago
Hi, is there any way I can retrieve the current module's name for the currently executing context? Yiannis.
Advertisement
			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

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Thanks a lot :)

This topic is closed to new replies.

Advertisement