示例#1
0
文件: ilsize_est.c 项目: bencz/DotGnu
/*
 * Get blob size information.
 */
static void GetBlobSize(ILSizeInfo *info, ILProgramItem *item, ILUInt32 offset)
{
	ILUInt32 len;
	unsigned char lenbuf[IL_META_COMPRESS_MAX_SIZE];
	if(ILImageGetBlob(ILProgramItem_Image(item), offset, &len))
	{
		info->meta += len;
		info->meta += (unsigned long)(long)ILMetaCompressData(lenbuf, len);
	}
}
示例#2
0
const void *ILAttributeGetValue(ILAttribute *attr, unsigned long *len)
{
	return ILImageGetBlob(attr->programItem.image, attr->value, len);
}
示例#3
0
文件: attr.c 项目: bencz/DotGnu
const void *ILAttributeGetValue(ILAttribute *attr, ILUInt32 *len)
{
	return ILImageGetBlob(attr->programItem.image, attr->value, len);
}