예제 #1
0
LStringData *LStringData::createFromBuffer(LChar *buffer) {
    size_t len = 0;
    while(buffer[len]) {
        len++;
    }
    return createFromBuffer(buffer, len, len + 1);
}
예제 #2
0
파일: Buffer.cpp 프로젝트: Epictetus/Joyau
Buffer::Buffer(const Buffer &obj): shouldDelete(true) {
   setClass("Buffer");
   createFromBuffer(obj);
}
예제 #3
0
void Texture::createEmpty( const TextureInfo& textureinfo )
{
    createFromBuffer(textureinfo, nullptr);
}