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

Method next_dyn

src/Array.cpp:804–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802 }
803
804 ::hx::Callable<::Dynamic()> IteratorBase::next_dyn()
805 {
806 struct _hx_iterator_next : public ::hx::AutoCallable_obj<::Dynamic()>
807 {
808 ::hx::ObjectPtr<IteratorBase> __this;
809
810 _hx_iterator_next(IteratorBase* ptr) : __this(ptr)
811 {
812 HX_OBJ_WB_NEW_MARKED_OBJECT(this);
813 }
814
815 ::Dynamic HX_LOCAL_RUN() final override
816 {
817 return __this->_dynamicNext();
818 }
819
820 void* __GetHandle() const override
821 {
822 return __this.GetPtr();
823 }
824
825 void __Mark(hx::MarkContext* __inCtx) final override
826 {
827 HX_MARK_MEMBER(__this);
828 }
829
830#ifdef HXCPP_VISIT_ALLOCS
831 void __Visit(hx::VisitContext* __inCtx) override
832 {
833 HX_VISIT_MEMBER(__this);
834 }
835#endif
836 };
837
838 return new _hx_iterator_next(this);
839 }
840
841 hx::Val IteratorBase::__Field(const String &inString, hx::PropertyAccess inCallProp)
842 {

Callers

nothing calls this directly

Calls 1

CreateMemberFunction0Function · 0.85

Tested by

no test coverage detected