| 799 | } |
| 800 | |
| 801 | unsigned __nullcRegisterFunction(const char* name, void* fPtr, unsigned extraType, unsigned funcType) |
| 802 | { |
| 803 | unsigned hash = GetStringHash(name); |
| 804 | for(unsigned int i = 0; i < funcTable.size(); i++) |
| 805 | if(funcTableExt[i].hash == hash) |
| 806 | return i; |
| 807 | funcTable.push_back(fPtr); |
| 808 | funcTableExt.push_back(NULLCFuncInfo(hash, extraType, funcType)); |
| 809 | return funcTable.size() - 1; |
| 810 | } |
| 811 | |
| 812 | // Memory allocation and GC |
| 813 |
no test coverage detected