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

Method IsEmpty

sdk/angelscript/source/as_module.cpp:1604–1616  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

1602
1603// internal
1604bool asCModule::IsEmpty() const
1605{
1606 if( m_scriptFunctions.GetLength() ) return false;
1607 if( m_globalFunctions.GetSize() ) return false;
1608 if( m_bindInformations.GetLength() ) return false;
1609 if( m_scriptGlobals.GetSize() ) return false;
1610 if( m_classTypes.GetLength() ) return false;
1611 if( m_enumTypes.GetLength() ) return false;
1612 if( m_typeDefs.GetLength() ) return false;
1613 if( m_funcDefs.GetLength() ) return false;
1614
1615 return true;
1616}
1617
1618// interface
1619int asCModule::SaveByteCode(asIBinaryStream *out, bool stripDebugInfo) const

Callers 1

BuildMethod · 0.45

Calls 2

GetLengthMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected