Typedefs and integral types
If I do this:
engine->RegisterObjectType("size_t", sizeof(size_t), asOBJ_PRIMITIVE)
Are the normal math operations going to work the same way they would as an int? All I want is a typedef sort of system.
Unfortunately not. You'll have to register all the operators you want to use.
typedefs will be implemented in the future.
typedefs will be implemented in the future.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement