git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / thenshim / Thenable.h

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

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

HX_DECLARE_CLASS1(thenshim,Thenable)

namespace thenshim{


class HXCPP_CLASS_ATTRIBUTES Thenable_obj {
	public:
		typedef ::hx::Object super;
		HX_DO_INTERFACE_RTTI;

		::Dynamic (::hx::Object :: *_hx_then)( ::Dynamic onFulfilled, ::Dynamic onRejected); 
		static inline ::Dynamic then( ::Dynamic _hx_, ::Dynamic onFulfilled, ::Dynamic onRejected) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::thenshim::Thenable_obj *>(_hx_.mPtr->_hx_getInterface(0xc019ce6d)))->_hx_then)(onFulfilled,onRejected);
		}
};

} // end namespace thenshim

#endif /* INCLUDED_thenshim_Thenable */