return (Node *)self;
}
-Node * new_method (int scope, int method, Type * mtype, char * otype, GList * gtktypes, GList * flags, char * id, GList * args, char * onerror, char * defreturn, char * cbuf, int line_no, int ccode_line, gboolean vararg)
+Node * new_method (int scope, int method, Type * mtype, char * otype, GList * gtktypes, GList * flags, char * id, GList * args, char * onerror, char * defreturn, char * cbuf, int line_no, int ccode_line, gboolean vararg, int unique_id)
{
Method * self = g_new0(Method, 1);
self->type = METHOD_NODE;
self->line_no = line_no;
self->ccode_line = ccode_line;
self->vararg = vararg;
+ self->unique_id = unique_id;
return (Node *)self;
}
new->line_no = self->line_no;
new->ccode_line = self->ccode_line;
new->vararg = self->vararg;
+ new->unique_id = self->unique_id;
return new;
}