git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / _HaxeCBridge / Internal.h

// Generated by Haxe 4.3.3
#ifndef INCLUDED__HaxeCBridge_Internal
#define INCLUDED__HaxeCBridge_Internal

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_CLASS1(_HaxeCBridge,Internal)
HX_DECLARE_CLASS1(cpp,Int64Map)
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(sys,thread,Lock)

namespace _HaxeCBridge{


class HXCPP_CLASS_ATTRIBUTES Internal_obj : public ::hx::Object
{
	public:
		typedef ::hx::Object super;
		typedef Internal_obj OBJ_;
		Internal_obj();

	public:
		enum { _hx_ClassId = 0x0f2147a8 };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="_HaxeCBridge.Internal")
			{ return ::hx::Object::operator new(inSize,inContainer,inName); }
		inline void *operator new(size_t inSize, int extra)
			{ return ::hx::Object::operator new(inSize+extra,false,"_HaxeCBridge.Internal"); }

		inline static ::hx::ObjectPtr< Internal_obj > __new() {
			::hx::ObjectPtr< Internal_obj > __this = new Internal_obj();
			__this->__construct();
			return __this;
		}

		inline static ::hx::ObjectPtr< Internal_obj > __alloc(::hx::Ctx *_hx_ctx) {
			Internal_obj *__this = (Internal_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Internal_obj), false, "_HaxeCBridge.Internal"));
			*(void **)__this = Internal_obj::_hx_vtable;
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Internal_obj();

		HX_DO_RTTI_ALL;
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		static bool __SetStatic(const ::String &inString, Dynamic &ioValue, ::hx::PropertyAccess inCallProp);
		static void __register();
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("Internal",5d,23,28,02); }

		static void __boot();
		static ::cpp::Function< bool  () > isMainThreadCb;
		static Dynamic isMainThreadCb_dyn() { return isMainThreadCb;}
		static  ::sys::thread::Lock mainThreadWaitLock;
		static bool mainThreadLoopActive;
		static bool mainThreadEndIfNoPending;
		static  ::cpp::Int64Map gcRetainMap;
};

} // end namespace _HaxeCBridge

#endif /* INCLUDED__HaxeCBridge_Internal */