internal
| 1602 | |
| 1603 | // internal |
| 1604 | bool 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 |
| 1619 | int asCModule::SaveByteCode(asIBinaryStream *out, bool stripDebugInfo) const |