Typedefs and integral types

Started by
1 comment, last by Deyja 17 years ago
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.
Advertisement
Unfortunately not. You'll have to register all the operators you want to use.

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

You can use a preprocessor (read: mine) and #define size_t uint.

This topic is closed to new replies.

Advertisement