MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / clear

Method clear

Engine/source/console/consoleInternal.cpp:894–908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894void Namespace::Entry::clear()
895{
896 if (mCode)
897 {
898 mCode->decRefCount();
899 mCode = NULL;
900 }
901
902 // Clean up usage strings generated for script functions.
903 if ((mType == Namespace::Entry::ConsoleFunctionType) && mUsage)
904 {
905 dFree(mUsage);
906 mUsage = NULL;
907 }
908}
909
910Namespace::Namespace()
911{

Callers 3

clearEntriesMethod · 0.45
getUniqueEntryListsMethod · 0.45
createLocalEntryMethod · 0.45

Calls 2

dFreeFunction · 0.50
decRefCountMethod · 0.45

Tested by

no test coverage detected