mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
87 lines
2.3 KiB
C++
87 lines
2.3 KiB
C++
|
// Generated by Haxe 4.0.5
|
||
|
#include <hxcpp.h>
|
||
|
|
||
|
#ifndef INCLUDED_Main
|
||
|
#include <Main.h>
|
||
|
#endif
|
||
|
#ifndef INCLUDED_haxe_Log
|
||
|
#include <haxe/Log.h>
|
||
|
#endif
|
||
|
|
||
|
HX_LOCAL_STACK_FRAME(_hx_pos_e47a9afac0942eb9_3_main,"Main","main",0xed0e206e,"Main.main","Main.hx",3,0x087e5c05)
|
||
|
|
||
|
void Main_obj::__construct() { }
|
||
|
|
||
|
Dynamic Main_obj::__CreateEmpty() { return new Main_obj; }
|
||
|
|
||
|
void *Main_obj::_hx_vtable = 0;
|
||
|
|
||
|
Dynamic Main_obj::__Create(hx::DynamicArray inArgs)
|
||
|
{
|
||
|
hx::ObjectPtr< Main_obj > _hx_result = new Main_obj();
|
||
|
_hx_result->__construct();
|
||
|
return _hx_result;
|
||
|
}
|
||
|
|
||
|
bool Main_obj::_hx_isInstanceOf(int inClassId) {
|
||
|
return inClassId==(int)0x00000001 || inClassId==(int)0x332f6459;
|
||
|
}
|
||
|
|
||
|
void Main_obj::main(){
|
||
|
HX_STACKFRAME(&_hx_pos_e47a9afac0942eb9_3_main)
|
||
|
HXDLIN( 3) ::haxe::Log_obj::trace(HX_("Hello World",84,f6,db,6f),hx::SourceInfo(HX_("source/Main.hx",91,d3,a7,40),3,HX_("Main",59,64,2f,33),HX_("main",39,38,56,48)));
|
||
|
}
|
||
|
|
||
|
|
||
|
STATIC_HX_DEFINE_DYNAMIC_FUNC0(Main_obj,main,(void))
|
||
|
|
||
|
|
||
|
Main_obj::Main_obj()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
bool Main_obj::__GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp)
|
||
|
{
|
||
|
switch(inName.length) {
|
||
|
case 4:
|
||
|
if (HX_FIELD_EQ(inName,"main") ) { outValue = main_dyn(); return true; }
|
||
|
}
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
#ifdef HXCPP_SCRIPTABLE
|
||
|
static hx::StorageInfo *Main_obj_sMemberStorageInfo = 0;
|
||
|
static hx::StaticInfo *Main_obj_sStaticStorageInfo = 0;
|
||
|
#endif
|
||
|
|
||
|
hx::Class Main_obj::__mClass;
|
||
|
|
||
|
static ::String Main_obj_sStaticFields[] = {
|
||
|
HX_("main",39,38,56,48),
|
||
|
::String(null())
|
||
|
};
|
||
|
|
||
|
void Main_obj::__register()
|
||
|
{
|
||
|
Main_obj _hx_dummy;
|
||
|
Main_obj::_hx_vtable = *(void **)&_hx_dummy;
|
||
|
hx::Static(__mClass) = new hx::Class_obj();
|
||
|
__mClass->mName = HX_("Main",59,64,2f,33);
|
||
|
__mClass->mSuper = &super::__SGetClass();
|
||
|
__mClass->mConstructEmpty = &__CreateEmpty;
|
||
|
__mClass->mConstructArgs = &__Create;
|
||
|
__mClass->mGetStaticField = &Main_obj::__GetStatic;
|
||
|
__mClass->mSetStaticField = &hx::Class_obj::SetNoStaticField;
|
||
|
__mClass->mStatics = hx::Class_obj::dupFunctions(Main_obj_sStaticFields);
|
||
|
__mClass->mMembers = hx::Class_obj::dupFunctions(0 /* sMemberFields */);
|
||
|
__mClass->mCanCast = hx::TCanCast< Main_obj >;
|
||
|
#ifdef HXCPP_SCRIPTABLE
|
||
|
__mClass->mMemberStorageInfo = Main_obj_sMemberStorageInfo;
|
||
|
#endif
|
||
|
#ifdef HXCPP_SCRIPTABLE
|
||
|
__mClass->mStaticStorageInfo = Main_obj_sStaticStorageInfo;
|
||
|
#endif
|
||
|
hx::_hx_RegisterClass(__mClass->mName, __mClass);
|
||
|
}
|
||
|
|