| 55 | } |
| 56 | |
| 57 | void builtin_array_reserve ( Array & pArray, int newSize, int stride, Context * context, LineInfoArg * at ) { |
| 58 | if ( newSize<0 ) return; // no point of displaying errors, if reserve fails |
| 59 | array_reserve( *context, pArray, newSize, stride, at ); |
| 60 | } |
| 61 | |
| 62 | void builtin_array_resize_i64 ( Array & pArray, int64_t newSize, int stride, Context * context, LineInfoArg * at ) { |
| 63 | if ( newSize<0 ) context->throw_error_at(at, "resizing array to negative size %lld", (long long)newSize); |
nothing calls this directly
no test coverage detected