| 446 | /* Instances and Prototypes */ |
| 447 | |
| 448 | txSlot* fxNewArray(txMachine* the, txIndex size) |
| 449 | { |
| 450 | txSlot* instance; |
| 451 | txSlot* array; |
| 452 | mxPush(mxArrayPrototype); |
| 453 | instance = fxNewArrayInstance(the); |
| 454 | array = instance->next; |
| 455 | fxSetIndexSize(the, array, size, XS_CHUNK); |
| 456 | fxIndexArray(the, array); |
| 457 | return instance; |
| 458 | } |
| 459 | |
| 460 | txSlot* fxNewObject(txMachine* the) |
| 461 | { |
no test coverage detected