This matches our behavior for symbols (and we should probably fix this
more globally...I think we still scan _-prefixed enums).
Noticed from gudev which had #define _GUDEV_INSIDE_H 1
https://bugzilla.gnome.org/show_bug.cgi?id=674072
return ast.Return(typeval)
def _create_const(self, symbol):
+ if symbol.ident.startswith('_'):
+ return None
+
# Don't create constants for non-public things
# http://bugzilla.gnome.org/show_bug.cgi?id=572790
if (symbol.source_filename is None or
void regress_has_parameter_named_attrs (int foo,
gpointer attributes);
-
typedef struct {
int dummy;
struct {
double dummy2;
} RegressLikeGnomeKeyringPasswordSchema;
+/* Ensure we ignore symbols that start with _; in particular we don't
+ * want to issue a namespace warning.
+ */
+#define _DONTSCANTHIS 1
+
#endif /* __GITESTTYPES_H__ */