| 245 | } |
| 246 | |
| 247 | txString fxCopyStringC(txMachine* the, txSlot* a, txString b) |
| 248 | { |
| 249 | txSize bSize = mxStringLength(b); |
| 250 | txSize resultSize = fxAddChunkSizes(the, bSize, 1); |
| 251 | txString result = (txString)fxNewChunk(the, resultSize); |
| 252 | c_memcpy(result, b, resultSize); |
| 253 | a->value.string = result; |
| 254 | a->kind = XS_STRING_KIND; |
| 255 | return result; |
| 256 | } |
| 257 | |
| 258 | txBoolean fxIsCanonicalIndex(txMachine* the, txID id) |
| 259 | { |
no test coverage detected