- v = fsrc->int_read(src, int_class->len, int_class->byte_order);
- return fdest->int_write(dest, int_class->len, int_class->byte_order, v);
- }
+ integer_declaration = g_new(struct declaration_integer, 1);
+ integer_declaration->p.id = CTF_TYPE_INTEGER;
+ integer_declaration->p.alignment = alignment;
+ integer_declaration->p.declaration_free = _integer_declaration_free;
+ integer_declaration->p.definition_free = _integer_definition_free;
+ integer_declaration->p.definition_new = _integer_definition_new;
+ integer_declaration->p.ref = 1;
+ integer_declaration->len = len;
+ integer_declaration->byte_order = byte_order;
+ integer_declaration->signedness = signedness;
+ integer_declaration->base = base;
+ return integer_declaration;