interface
| 987 | |
| 988 | // interface |
| 989 | const char *asCScriptFunction::GetVarDecl(asUINT index, bool includeNamespace) const |
| 990 | { |
| 991 | if( scriptData == 0 || index >= scriptData->variables.GetLength() ) |
| 992 | return 0; |
| 993 | |
| 994 | asCString *tempString = &asCThreadManager::GetLocalData()->string; |
| 995 | *tempString = scriptData->variables[index]->type.Format(nameSpace, includeNamespace); |
| 996 | *tempString += " " + scriptData->variables[index]->name; |
| 997 | |
| 998 | return tempString->AddressOf(); |
| 999 | } |
| 1000 | |
| 1001 | // internal |
| 1002 | void asCScriptFunction::AddVariable(const asCString &in_name, const asCDataType &in_type, int in_stackOffset, bool in_onHeap) |
no test coverage detected