interface
| 1442 | |
| 1443 | // interface |
| 1444 | const char *asCModule::GetImportedFunctionDeclaration(asUINT index) const |
| 1445 | { |
| 1446 | asCScriptFunction *func = GetImportedFunction(index); |
| 1447 | if( func == 0 ) return 0; |
| 1448 | |
| 1449 | asCString *tempString = &asCThreadManager::GetLocalData()->string; |
| 1450 | // TODO: Allow the application to decide if the parameter name should be included or not (requires change in the interface) |
| 1451 | *tempString = func->GetDeclarationStr(true, true, false); |
| 1452 | |
| 1453 | return tempString->AddressOf(); |
| 1454 | } |
| 1455 | |
| 1456 | // interface |
| 1457 | const char *asCModule::GetImportedFunctionSourceModule(asUINT index) const |