G_{BEGIN,END}_DECLS

Stu Tomlinson stu at nosnilmot.com
Wed Jul 9 21:11:08 EDT 2008


On Thu, 2008-07-10 at 00:54 +0100, Will Thompson wrote:
> Is there any reason why we don't use these macros rather than manually
> conditionally adding extern "C" { ... } as we currently do?

I've often wondered the same myself.

> The GLib
> documentation doesn't have any information on them having been added in
> newer-than-2.0 GLibs, but that's not always reliable, so if that's why,
> does anyone know (Stu?) whether they're in 2.4?

Amazingly the old wrinkled crap I care about has it already (even back
to grandfather glib 2.0.1, which is the oldest I can find to check).

> If so, they could be used in the gobjectification branch.

Hell yes. Have fun :)

Regards,


Stu.




More information about the Devel mailing list