patch adding G_GNUC_CONST to get_type()

From: Jean-Yves Lefort <jylefort_at_brutele.be>
Date: Mon, 25 Feb 2008 21:29:41 +0100

The attached patch adds the G_GNUC_CONST attribute to get_type()
function declarations. It is a performance improvement which allows
the compiler to move get_type() calls out of loops, etc.

-- 
Jean-Yves Lefort <jylefort_at_brutele.be>

Received on Mon Feb 25 2008 - 14:33:20 CST

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT