int __Compare(const hx::Object *inRHS) const { if (!inRHS) return 1; int diff = __length() - inRHS->__length(); if (diff==0) diff = __GetType() - inRHS->__GetType(); if (diff==0) diff = memcmp( mValue, inRHS->__GetHandle(), mLength ); if (diff<0) return -1; if (diff>0) return 1; return 0; }
::Dynamic Reflect_obj::field( ::Dynamic o,::String field){ HX_STACK_FRAME("Reflect","field",0x54b04da9,"Reflect.field","/usr/lib/haxe/std/cpp/_std/Reflect.hx",34,0xe2153adf) HX_STACK_ARG(o,"o") HX_STACK_ARG(field,"field") HXLINE( 34) return hx::IsNull( o ) ? null() : o->__Field(field,hx::paccNever); } STATIC_HX_DEFINE_DYNAMIC_FUNC2(Reflect_obj,field,return ) ::Dynamic Reflect_obj::callMethod( ::Dynamic o, ::Dynamic func,::cpp::VirtualArray args){ HX_STACK_FRAME("Reflect","callMethod",0xb49e52d0,"Reflect.callMethod","/usr/lib/haxe/std/cpp/_std/Reflect.hx",51,0xe2153adf) HX_STACK_ARG(o,"o") HX_STACK_ARG(func,"func") HX_STACK_ARG(args,"args") HXLINE( 52) if (((bool)hx::IsNotNull( func ) && (bool)(( (Int)(func->__GetType()) ) == (int)3))) { HXLINE( 53) func = o->__Field(func,hx::paccDynamic); } HXLINE( 54) func->__SetThis(o); HXLINE( 55) return func->__Run(args); } STATIC_HX_DEFINE_DYNAMIC_FUNC3(Reflect_obj,callMethod,return ) Bool Reflect_obj::isFunction( ::Dynamic f){ HX_STACK_FRAME("Reflect","isFunction",0x0f1541d3,"Reflect.isFunction","/usr/lib/haxe/std/cpp/_std/Reflect.hx",66,0xe2153adf) HX_STACK_ARG(f,"f") HXLINE( 66) return ((bool)hx::IsNotNull( f ) && (bool)hx::IsEq( f->__GetType(),(int)6 )); }