Logo Search packages:      
Sourcecode: einstein version File versions  Download package

void * ResVariant::getDynData (  ) 

return data. destroy it after use with free()

Definition at line 375 of file resources.cpp.

    if (! refCnt)
        return file->load(offset, packedSize, unpackedSize, level);
    else {
        char* d = (char*)malloc(unpackedSize);
        if (! d)
            throw Exception(L"ResVariant::getDynData memory allocation error");
        memcpy(d, data, unpackedSize);
        return data;

Generated by  Doxygen 1.6.0   Back to index