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

Method clear

Engine/source/console/consoleInternal.cpp:916–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914}
915
916void Namespace::Entry::clear()
917{
918 if(mCode)
919 {
920 mCode->decRefCount();
921 mCode = NULL;
922 }
923
924 // Clean up usage strings generated for script functions.
925 if( ( mType == Namespace::Entry::ConsoleFunctionType ) && mUsage )
926 {
927 dFree(mUsage);
928 mUsage = NULL;
929 }
930}
931
932Namespace::Namespace()
933{

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