// Generated by Haxe 4.3.3
#ifndef INCLUDED_thenshim_PromiseTools
#define INCLUDED_thenshim_PromiseTools
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(thenshim,PromiseTools)
HX_DECLARE_CLASS1(thenshim,Thenable)
namespace thenshim{
class HXCPP_CLASS_ATTRIBUTES PromiseTools_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef PromiseTools_obj OBJ_;
PromiseTools_obj();
public:
enum { _hx_ClassId = 0x1873701a };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="thenshim.PromiseTools")
{ 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,"thenshim.PromiseTools"); }
inline static ::hx::ObjectPtr< PromiseTools_obj > __new() {
::hx::ObjectPtr< PromiseTools_obj > __this = new PromiseTools_obj();
__this->__construct();
return __this;
}
inline static ::hx::ObjectPtr< PromiseTools_obj > __alloc(::hx::Ctx *_hx_ctx) {
PromiseTools_obj *__this = (PromiseTools_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(PromiseTools_obj), false, "thenshim.PromiseTools"));
*(void **)__this = PromiseTools_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~PromiseTools_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("PromiseTools",a0,4e,2e,4d); }
static ::Dynamic all( ::Dynamic promises);
static ::Dynamic all_dyn();
static ::Dynamic catch_(::Dynamic promise, ::Dynamic onRejected);
static ::Dynamic catch__dyn();
};
} // end namespace thenshim
#endif /* INCLUDED_thenshim_PromiseTools */