| 19 | } |
| 20 | |
| 21 | void SIArray_Append(SIValue *siarray, SIValue value) { |
| 22 | // clone and persist incase of pointer values |
| 23 | SIValue clone = SI_CloneValue(value); |
| 24 | // append |
| 25 | array_append(siarray->array, clone); |
| 26 | } |
| 27 | |
| 28 | SIValue SIArray_Get(SIValue siarray, uint32_t index) { |
| 29 | // check index |