| 5924 | } |
| 5925 | |
| 5926 | int asCScriptEngine::GetNextScriptFunctionId() |
| 5927 | { |
| 5928 | // This function only returns the next function id that |
| 5929 | // should be used. It doesn't update the internal arrays. |
| 5930 | if( freeScriptFunctionIds.GetLength() ) |
| 5931 | return freeScriptFunctionIds[freeScriptFunctionIds.GetLength()-1]; |
| 5932 | |
| 5933 | return (int)scriptFunctions.GetLength(); |
| 5934 | } |
| 5935 | |
| 5936 | void asCScriptEngine::AddScriptFunction(asCScriptFunction *func) |
| 5937 | { |
no test coverage detected