MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / ofInt

Method ofInt

include/cpp/CppInt32__.h:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 static inline CppInt32__ make(int a,int b) { return CppInt32__( (a<<16) | b ); }
28 static inline CppInt32__ ofInt(int a) { return CppInt32__( a ); }
29 static inline int toInt(CppInt32__ a) { __hxcpp_check_overflow(a); return a.mValue; }
30 static inline int toNativeInt(CppInt32__ a) { return a.mValue; }
31 static inline CppInt32__ add(CppInt32__ a,CppInt32__ b) { return CppInt32__( a.mValue + b.mValue ); }

Callers

nothing calls this directly

Calls 1

CppInt32__Class · 0.70

Tested by

no test coverage detected