internal
| 1569 | |
| 1570 | // internal |
| 1571 | asCObjectType *asCModule::GetObjectType(const char *type, asSNameSpace *ns) const |
| 1572 | { |
| 1573 | asSMapNode<asSNameSpaceNamePair, asCTypeInfo*>* result = 0; |
| 1574 | if(m_typeLookup.MoveTo(&result, asSNameSpaceNamePair(ns, type))) |
| 1575 | { |
| 1576 | return CastToObjectType(result->value); |
| 1577 | } |
| 1578 | |
| 1579 | return 0; |
| 1580 | } |
| 1581 | |
| 1582 | // internal |
| 1583 | asCGlobalProperty *asCModule::AllocateGlobalProperty(const char *propName, const asCDataType &dt, asSNameSpace *ns) |