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

void * Resource::getRef ( int *  size,
int  variant = 0 

Load data from variant. data must be freed with delRef()

size size of data.
variant variant number.

Definition at line 475 of file resources.cpp.

    if (size)
        *size = variants[variant]->getSize();
    return variants[variant]->getRef();

Generated by  Doxygen 1.6.0   Back to index