| 757 | #endif |
| 758 | |
| 759 | const void *fxGetResource(xsMachine* the, void* archive, const char* path, size_t* size) |
| 760 | { |
| 761 | const void* data; |
| 762 | if (archive) |
| 763 | data = fxGetArchiveData(the, archive, (xsStringValue)path, size); |
| 764 | else { |
| 765 | data = fxGetArchiveData(the, the->archive, (xsStringValue)path, size); |
| 766 | if (!data) |
| 767 | data = mcGetResource(the, path, size); |
| 768 | } |
| 769 | return data; |
| 770 | } |
| 771 | |
| 772 | xsBooleanValue fxFindBoolean(xsMachine* the, xsSlot* slot, xsIdentifier id, xsBooleanValue* value) |
| 773 | { |
no test coverage detected