Set type and value to array with a preset initial size.
| 61 | |
| 62 | // Set type and value to array with a preset initial size. |
| 63 | void value_set_array(engine_value *val, unsigned int size) { |
| 64 | array_init_size(val->internal, size); |
| 65 | val->kind = KIND_ARRAY; |
| 66 | } |
| 67 | |
| 68 | // Set type and value to object. |
| 69 | void value_set_object(engine_value *val) { |