[GNC-dev] Missing G_END_DECLS macro in gnucash/import-export/aqb/gnc-ab-kvp.h

Kevin Buckley kevin.m.buckley at gmail.com
Fri Feb 18 23:24:18 EST 2022


I actually noticed this in a source file from back in the 2.6 days,
although have just pull-ed the maint branch, at commit 1ed85c9b6,
and still can't see one?

FWIW, I was looking to wrap all of the

G_BEGIN_DECLS
G_END_DECLS

pairs in GNU indent "Ignore" comments

/* *INDENT-OFF* */

/* *INDENT-ON* */

(indent not being overly happy dealing with them nor with G_GNUC_CONST
come to that),

and noticed this file had a BEGIN-ing but no END.

Was wondering if that was "correct" or merely just "OK"?


Just out of interest though, and leaving aside the "it's a free-for-all" notes
in the Coding Style Conventions stanza of the HACKING file, what are the
pretty-printers of choice for the various source code languages within
the GnuCash codebase?

Kevin


More information about the gnucash-devel mailing list