Example #1
0
static Variable as_pop(AVM &avm) {
	ArrayPtr array = avm.getRegister(1).as<Array>();
	if (!array)
		throw Common::Exception("Array::pop this is not an Array object");
	return array->pop();
}