// Generated by Haxe 4.3.3
#include <hxcpp.h>

#ifndef INCLUDED_cpp_Helpers
#include <cpp/Helpers.h>
#endif

HX_LOCAL_STACK_FRAME(_hx_pos_886c928fbbac253d_24_lengthOfArray,"cpp.Helpers","lengthOfArray",0x49189228,"cpp.Helpers.lengthOfArray","cpp/Helpers.hx",24,0x2c906965)
HX_LOCAL_STACK_FRAME(_hx_pos_886c928fbbac253d_28_lengthOfConstArray,"cpp.Helpers","lengthOfConstArray",0xa149f247,"cpp.Helpers.lengthOfConstArray","cpp/Helpers.hx",28,0x2c906965)
HX_LOCAL_STACK_FRAME(_hx_pos_886c928fbbac253d_32_free,"cpp.Helpers","free",0x79722cc0,"cpp.Helpers.free","cpp/Helpers.hx",32,0x2c906965)
namespace cpp{

void Helpers_obj::__construct() { }

Dynamic Helpers_obj::__CreateEmpty() { return new Helpers_obj; }

void *Helpers_obj::_hx_vtable = 0;

Dynamic Helpers_obj::__Create(::hx::DynamicArray inArgs)
{
	::hx::ObjectPtr< Helpers_obj > _hx_result = new Helpers_obj();
	_hx_result->__construct();
	return _hx_result;
}

bool Helpers_obj::_hx_isInstanceOf(int inClassId) {
	return inClassId==(int)0x00000001 || inClassId==(int)0x259c25a2;
}

int Helpers_obj::lengthOfArray( ::Dynamic* array){
            	HX_STACKFRAME(&_hx_pos_886c928fbbac253d_24_lengthOfArray)
HXDLIN(  24)		return (int)(sizeof(array) / sizeof(array[0]));
            	}


int Helpers_obj::lengthOfConstArray(const  ::Dynamic* array){
            	HX_STACKFRAME(&_hx_pos_886c928fbbac253d_28_lengthOfConstArray)
HXDLIN(  28)		return (int)(sizeof(array) / sizeof(array[0]));
            	}


 ::Dynamic Helpers_obj::free( ::Dynamic ptr){
            	HX_STACKFRAME(&_hx_pos_886c928fbbac253d_32_free)
HXDLIN(  32)		return free(ptr);
            	}


STATIC_HX_DEFINE_DYNAMIC_FUNC1(Helpers_obj,free,return )


Helpers_obj::Helpers_obj()
{
}

bool Helpers_obj::__GetStatic(const ::String &inName, Dynamic &outValue, ::hx::PropertyAccess inCallProp)
{
	switch(inName.length) {
	case 4:
		if (HX_FIELD_EQ(inName,"free") ) { outValue = free_dyn(); return true; }
	}
	return false;
}

#ifdef HXCPP_SCRIPTABLE
static ::hx::StorageInfo *Helpers_obj_sMemberStorageInfo = 0;
static ::hx::StaticInfo *Helpers_obj_sStaticStorageInfo = 0;
#endif

::hx::Class Helpers_obj::__mClass;

static ::String Helpers_obj_sStaticFields[] = {
	HX_("free",ac,9c,c2,43),
	::String(null())
};

void Helpers_obj::__register()
{
	Helpers_obj _hx_dummy;
	Helpers_obj::_hx_vtable = *(void **)&_hx_dummy;
	::hx::Static(__mClass) = new ::hx::Class_obj();
	__mClass->mName = HX_("cpp.Helpers",da,c8,f6,14);
	__mClass->mSuper = &super::__SGetClass();
	__mClass->mConstructEmpty = &__CreateEmpty;
	__mClass->mConstructArgs = &__Create;
	__mClass->mGetStaticField = &Helpers_obj::__GetStatic;
	__mClass->mSetStaticField = &::hx::Class_obj::SetNoStaticField;
	__mClass->mStatics = ::hx::Class_obj::dupFunctions(Helpers_obj_sStaticFields);
	__mClass->mMembers = ::hx::Class_obj::dupFunctions(0 /* sMemberFields */);
	__mClass->mCanCast = ::hx::TCanCast< Helpers_obj >;
#ifdef HXCPP_SCRIPTABLE
	__mClass->mMemberStorageInfo = Helpers_obj_sMemberStorageInfo;
#endif
#ifdef HXCPP_SCRIPTABLE
	__mClass->mStaticStorageInfo = Helpers_obj_sStaticStorageInfo;
#endif
	::hx::_hx_RegisterClass(__mClass->mName, __mClass);
}

} // end namespace cpp
