• Advertisement
Sign in to follow this  

Typedefs and integral types

This topic is 3945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
You can use a preprocessor (read: mine) and #define size_t uint.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement