All integer and floats regardless of their size are stored in the same ModelData enum constructor. This means Int64s get truncated and there is no proper structured view of native integers. Might want an optional size argument in the model, where if there is none it a haxe integer / float.
enum IntSize {
UInt8;
SInt8;
UInt16;
....
Unspecified
}
ModelData.MInt(v : haxe.Int64, s : IntSize)
The model should also handled odd types like char, wchar_t, etc.
All integer and floats regardless of their size are stored in the same
ModelDataenum constructor. This means Int64s get truncated and there is no proper structured view of native integers. Might want an optional size argument in the model, where if there is none it a haxe integer / float.ModelData.MInt(v : haxe.Int64, s : IntSize)The model should also handled odd types like
char,wchar_t, etc.