[Bug 39631] add optimisation helpers

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 23 02:03:05 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=39631

--- Comment #7 from Michael Meeks <michael.meeks at collabora.com> ---
I guess it might be worth talking to the glib developers; gmacros.h has a
reasonably workable version - however the _G_BOOLEAN_EXPR stuff is not the
ultimate in beauty =) The implementation in glib is all written by:

Matthias Clasen <matthiasc at src.gnome.org>

I just dug throught he commit log for glib =) I'd be inclined to simply re-use
G_LIKELY and G_UNLIKELY with a SAL prefix myself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140923/1870fa2c/attachment.html>


More information about the LibreOffice mailing list