| 897 | } |
| 898 | |
| 899 | txBoolean fxFindScript(txMachine* the, txString path, txID* id) |
| 900 | { |
| 901 | txLinker* linker = (txLinker*)(the->context); |
| 902 | txLinkerScript* linkerScript = linker->firstScript; |
| 903 | while (linkerScript) { |
| 904 | if (!c_strcmp(path, linkerScript->path)) { |
| 905 | *id = fxNewNameC(the, path); |
| 906 | return 1; |
| 907 | } |
| 908 | linkerScript = linkerScript->nextScript; |
| 909 | } |
| 910 | *id = XS_NO_ID; |
| 911 | return 0; |
| 912 | } |
| 913 | |
| 914 | void fxFreezeBuiltIns(txMachine* the) |
| 915 | { |
no test coverage detected