MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / push_dyn

Function push_dyn

include/cpp/VirtualArray.h:575–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573 ::hx::Callable<::Dynamic()> pop_dyn();
574 template<typename T>
575 ::hx::Callable<int(T)> push_dyn()
576 {
577 struct _hx_virtualarray_push : public ::hx::AutoCallable_obj<int(T)>
578 {
579 ::cpp::VirtualArray mThis;
580
581 _hx_virtualarray_push(::cpp::VirtualArray inThis) : mThis(inThis)
582 {
583 HX_OBJ_WB_NEW_MARKED_OBJECT(this);
584 }
585
586 int _hx_run(T in) override
587 {
588 return mThis->push(in);
589 }
590 };
591
592 return new _hx_virtualarray_push(this);
593 }
594 ::hx::Callable<bool(::Dynamic)> contains_dyn();
595 ::hx::Callable<bool(::Dynamic)> remove_dyn();
596 ::hx::Callable<bool(int)> removeAt_dyn();

Callers 1

__FieldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected