genmarshal Only wrap body prototypes in C++ guards
commit100b83a7faf277e2ea5ed2ec6f667ef5ac916416
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 25 Aug 2017 08:43:27 +0000 (25 09:43 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 25 Aug 2017 08:53:56 +0000 (25 09:53 +0100)
tree8c873164e621ab586cdc840f618a09a2d5f6d434
parent9ff6f24a58dcc4dee8205eaa0bbe1b2678ff900e
genmarshal Only wrap body prototypes in C++ guards

Commit 31ae2c559810675aae483269f234a349cd933528 added the C++ guards
around all prototypes, including inside the header file. The header
file, though, already has C++ guards, so while it's harmless to have
them there, it's also unnecessary.

We should only emit C++ guards around the prototypes we include in the
generated source.
gobject/glib-genmarshal.in