예제 #1
0
    HRESULT TypeEnv::NewAArray( Type* elem, Type* key, Type*& type )
    {
        Type*   ptrType = GetVoidPointerType();

        if ( ptrType == NULL )
            return E_OUTOFMEMORY;

        type = new TypeAArray( elem, key, ptrType->GetSize() );
        type->AddRef();
        return S_OK;
    }