Typedefs Used As Parameters Return Primitive Type Ids

Started by
0 comments, last by WitchLord 7 years, 9 months ago

When using typedefs as parameters, getting their type id using asIScriptFunction::GetParam returns the primitive type id instead. This makes getting the asITypeInfo instance impossible.

Advertisement

The typedef is just an alias. It is the true type that is stored in the function signatures, variables, etc.

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