gitlab.com/thomasboni/go-enry/v2@v2.8.3-0.20220418031202-30b0d7a3de98/_testdata/Generated/Haxe/Main.h (about) 1 // Generated by Haxe 4.0.5 2 #ifndef INCLUDED_Main 3 #define INCLUDED_Main 4 5 #ifndef HXCPP_H 6 #include <hxcpp.h> 7 #endif 8 9 HX_DECLARE_CLASS0(Main) 10 11 12 13 class HXCPP_CLASS_ATTRIBUTES Main_obj : public hx::Object 14 { 15 public: 16 typedef hx::Object super; 17 typedef Main_obj OBJ_; 18 Main_obj(); 19 20 public: 21 enum { _hx_ClassId = 0x332f6459 }; 22 23 void __construct(); 24 inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Main") 25 { return hx::Object::operator new(inSize,inContainer,inName); } 26 inline void *operator new(size_t inSize, int extra) 27 { return hx::Object::operator new(inSize+extra,false,"Main"); } 28 29 inline static hx::ObjectPtr< Main_obj > __new() { 30 hx::ObjectPtr< Main_obj > __this = new Main_obj(); 31 __this->__construct(); 32 return __this; 33 } 34 35 inline static hx::ObjectPtr< Main_obj > __alloc(hx::Ctx *_hx_ctx) { 36 Main_obj *__this = (Main_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Main_obj), false, "Main")); 37 *(void **)__this = Main_obj::_hx_vtable; 38 return __this; 39 } 40 41 static void * _hx_vtable; 42 static Dynamic __CreateEmpty(); 43 static Dynamic __Create(hx::DynamicArray inArgs); 44 //~Main_obj(); 45 46 HX_DO_RTTI_ALL; 47 static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp); 48 static void __register(); 49 bool _hx_isInstanceOf(int inClassId); 50 ::String __ToString() const { return HX_("Main",59,64,2f,33); } 51 52 static void main(); 53 static ::Dynamic main_dyn(); 54 55 }; 56 57 58 #endif /* INCLUDED_Main */