| 938 | } |
| 939 | |
| 940 | void NULLC::AssertCoroutine(NULLCRef f) |
| 941 | { |
| 942 | if(linker->exTypes[f.typeID].subCat != ExternTypeInfo::CAT_FUNCTION) |
| 943 | nullcThrowError("Argument is not a function"); |
| 944 | NULLCFuncPtr *fPtr = (NULLCFuncPtr*)f.ptr; |
| 945 | if(linker->exFunctions[fPtr->id].funcCat != ExternFuncInfo::COROUTINE) |
| 946 | nullcThrowError("ERROR: function is not a coroutine"); |
| 947 | } |
| 948 | |
| 949 | NULLCArray NULLC::GetFinalizationList() |
| 950 | { |
nothing calls this directly
no test coverage detected