MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetTypeDeclaration

Method GetTypeDeclaration

sdk/angelscript/source/as_scriptengine.cpp:5220–5229  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

5218
5219// interface
5220const char *asCScriptEngine::GetTypeDeclaration(int typeId, bool includeNamespace) const
5221{
5222 asCDataType dt = GetDataTypeFromTypeId(typeId);
5223
5224 asCString str = dt.Format(defaultNamespace, includeNamespace);
5225
5226 asCString *tempString = &asCThreadManager::GetLocalData()->string;
5227 *tempString = str;
5228 return tempString->AddressOf();
5229}
5230
5231// interface
5232int asCScriptEngine::GetSizeOfPrimitiveType(int typeId) const

Callers 15

ListVariablesFunction · 0.80
DebugOutputMethod · 0.80
ExecuteStringFunction · 0.80
WriteConfigToStreamFunction · 0.80
WriteMethod · 0.80
SetTypeMethod · 0.80
TestFunction · 0.80
GetNameOfTypeMethod · 0.80
GetSubTypeMethod · 0.80
TestFunction · 0.80
ScriptTypeGetClassnameFunction · 0.80

Calls 2

FormatMethod · 0.45
AddressOfMethod · 0.45

Tested by 10

TestFunction · 0.64
GetNameOfTypeMethod · 0.64
GetSubTypeMethod · 0.64
TestFunction · 0.64
ScriptTypeGetClassnameFunction · 0.64
TestEnumFunction · 0.64
DumpModuleFunction · 0.64
TestFunction · 0.64
TestFunction · 0.64
TestFunction · 0.64