[Bug 57559] Don't use _GET_PRIVATE all the time
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 26 08:55:01 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=57559
--- Comment #2 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
Comment on attachment 70595
--> https://bugs.freedesktop.org/attachment.cgi?id=70595
Use ->priv where possible.
Review of attachment 70595:
-----------------------------------------------------------------
(In reply to comment #0)
> We already have priv members in the structs, which are much much faster.
I don't think faster is really an argument here, given the rate at which we
call those functions. However, I like the type-safety we had, especially on the
public functions. Can you add SPICE_FOO(obj) checks in the public methods with
this patch?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20121126/0f5237c4/attachment.html>
More information about the spice-bugs
mailing list