Haxe API
| 698 | |
| 699 | // Haxe API |
| 700 | inline int push( ELEM_ inVal ) |
| 701 | { |
| 702 | #ifdef HXCPP_GC_GENERATIONAL |
| 703 | if (hx::ContainsPointers<ELEM_>()) |
| 704 | return pushCtx(HX_CTX_GET,inVal); |
| 705 | #endif |
| 706 | int l = length; |
| 707 | EnsureSize((int)l+1); |
| 708 | * (ELEM_ *)(mBase + l*sizeof(ELEM_)) = inVal; |
| 709 | return length; |
| 710 | } |
| 711 | inline NullType pop( ) |
| 712 | { |
| 713 | if (!length) return null(); |
no test coverage detected