GITypeInfo *
g_type_info_new (GIBaseInfo *container,
- GTypelib *typelib,
- guint32 offset)
+ GTypelib *typelib,
+ guint32 offset)
{
SimpleTypeBlob *type = (SimpleTypeBlob *)&typelib->data[offset];
*/
GIArgInfo *
g_callable_info_get_arg (GICallableInfo *info,
- gint n)
+ gint n)
{
GIRealInfo *rinfo = (GIRealInfo *)info;
Header *header = (Header *)rinfo->typelib->data;
offset = signature_offset (info);
return (GIArgInfo *) g_info_new (GI_INFO_TYPE_ARG, (GIBaseInfo*)info, rinfo->typelib,
- offset + header->signature_blob_size + n * header->arg_blob_size);
+ offset + header->signature_blob_size + n * header->arg_blob_size);
}
/**
if (strcmp (name, fname) == 0)
return (GIFunctionInfo *) g_info_new (GI_INFO_TYPE_FUNCTION, base,
- rinfo->typelib, offset);
+ rinfo->typelib, offset);
offset += header->function_blob_size;
}
blob->name = write_string (node->name, strings, data, offset2);
blob->deprecated = prop->deprecated;
blob->readable = prop->readable;
- blob->writable = prop->writable;
- blob->construct = prop->construct;
- blob->construct_only = prop->construct_only;
+ blob->writable = prop->writable;
+ blob->construct = prop->construct;
+ blob->construct_only = prop->construct_only;
blob->reserved = 0;
g_ir_node_build_typelib ((GIrNode *)prop->type,
*/
*offset += sizeof (ArgBlob) - sizeof (SimpleTypeBlob);
- blob->name = write_string (node->name, strings, data, offset2);
- blob->in = param->in;
- blob->out = param->out;
- blob->dipper = param->dipper;
+ blob->name = write_string (node->name, strings, data, offset2);
+ blob->in = param->in;
+ blob->out = param->out;
+ blob->dipper = param->dipper;
blob->allow_none = param->allow_none;
blob->optional = param->optional;
blob->transfer_ownership = param->transfer;