Guest User

Untitled

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