Advertisement
kevansevans

Untitled

Mar 5th, 2020
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. // Generated by Haxe 4.0.5
  2. #include <hxcpp.h>
  3.  
  4. #ifndef INCLUDED_Main
  5. #include <Main.h>
  6. #endif
  7. #ifndef INCLUDED_haxe_Log
  8. #include <haxe/Log.h>
  9. #endif
  10.  
  11. HX_LOCAL_STACK_FRAME(_hx_pos_e47a9afac0942eb9_8_main,"Main","main",0xed0e206e,"Main.main","Main.hx",8,0x087e5c05)
  12.  
  13. void Main_obj::__construct() { }
  14.  
  15. Dynamic Main_obj::__CreateEmpty() { return new Main_obj; }
  16.  
  17. void *Main_obj::_hx_vtable = 0;
  18.  
  19. Dynamic Main_obj::__Create(hx::DynamicArray inArgs)
  20. {
  21. hx::ObjectPtr< Main_obj > _hx_result = new Main_obj();
  22. _hx_result->__construct();
  23. return _hx_result;
  24. }
  25.  
  26. bool Main_obj::_hx_isInstanceOf(int inClassId) {
  27. return inClassId==(int)0x00000001 || inClassId==(int)0x332f6459;
  28. }
  29.  
  30. void Main_obj::main(){
  31. HX_STACKFRAME(&_hx_pos_e47a9afac0942eb9_8_main)
  32. HXDLIN( 8) ::haxe::Log_obj::trace(HX_("Hello World!",1d,bd,9b,70),hx::SourceInfo(HX_("src/Main.hx",9a,7a,30,a1),8,HX_("Main",59,64,2f,33),HX_("main",39,38,56,48)));
  33. }
  34.  
  35.  
  36. STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void))
  37.  
  38.  
  39. Main_obj::Main_obj()
  40. {
  41. }
  42.  
  43. bool Main_obj::__GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp)
  44. {
  45. switch(inName.length) {
  46. case 4:
  47. if (HX_FIELD_EQ(inName,"main") ) { outValue = main_dyn(); return true; }
  48. }
  49. return false;
  50. }
  51.  
  52. #ifdef HXCPP_SCRIPTABLE
  53. static hx::StorageInfo *Main_obj_sMemberStorageInfo = 0;
  54. static hx::StaticInfo *Main_obj_sStaticStorageInfo = 0;
  55. #endif
  56.  
  57. hx::Class Main_obj::__mClass;
  58.  
  59. static ::String Main_obj_sStaticFields[] = {
  60. HX_("main",39,38,56,48),
  61. ::String(null())
  62. };
  63.  
  64. void Main_obj::__register()
  65. {
  66. Main_obj _hx_dummy;
  67. Main_obj::_hx_vtable = *(void **)&_hx_dummy;
  68. hx::Static(__mClass) = new hx::Class_obj();
  69. __mClass->mName = HX_("Main",59,64,2f,33);
  70. __mClass->mSuper = &super::__SGetClass();
  71. __mClass->mConstructEmpty = &__CreateEmpty;
  72. __mClass->mConstructArgs = &__Create;
  73. __mClass->mGetStaticField = &Main_obj::__GetStatic;
  74. __mClass->mSetStaticField = &hx::Class_obj::SetNoStaticField;
  75. __mClass->mStatics = hx::Class_obj::dupFunctions(Main_obj_sStaticFields);
  76. __mClass->mMembers = hx::Class_obj::dupFunctions(0 /* sMemberFields */);
  77. __mClass->mCanCast = hx::TCanCast< Main_obj >;
  78. #ifdef HXCPP_SCRIPTABLE
  79. __mClass->mMemberStorageInfo = Main_obj_sMemberStorageInfo;
  80. #endif
  81. #ifdef HXCPP_SCRIPTABLE
  82. __mClass->mStaticStorageInfo = Main_obj_sStaticStorageInfo;
  83. #endif
  84. hx::_hx_RegisterClass(__mClass->mName, __mClass);
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement