Re: g_object_newv patch
- From: Owen Taylor <otaylor redhat com>
- To: James Henstridge <james daa com au>
- Cc: <gtk-devel-list gnome org>, timj gtk org
- Subject: Re: g_object_newv patch
- Date: 13 Jun 2001 15:48:18 -0400
James Henstridge <james daa com au> writes:
> I have put together a patch to add the g_object_newv function to
> libgobject. The bugzilla bug is:
> http://bugzilla.gnome.org/show_bug.cgi?id=54946
> and the patch is at:
> http://bugzilla.gnome.org/showattachment.cgi?attach_id=649
>
> The patch shouldn't break anything, but it could use some more testing.
> It seems okay from my testing so far though.
>
> The API I used was the one suggested by Owen and Tim:
>
> typedef struct _GParameter GParameter;
> struct _GParameter {
This is the one thing I noticed looking through your patch - the
{ should be on the next line.
Other than that, the patch looks fine to me; at some point it
might be good for someone to go in and optimize out some of the
excess mallocs in those functions, but that is hardly GObject's
main performance bottleneck at the current time.
You probably should wait a few days for Tim to comment.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]