summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.h
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2012-06-28 18:34:02 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-08-03 13:57:11 +0200
commitbeb5c820139693c85f4e5277a7c430dd6042fbcb (patch)
treedec4ff90163f46aa8afaa22d0356609cde3f8dfa /tests/scanner/regress.h
parentd0ffee9bffacbeb45cc4e03079fe143d5f73288d (diff)
downloadgobject-introspection-beb5c820139693c85f4e5277a7c430dd6042fbcb.tar.gz
giscanner: special case G_GINT64_CONSTANT and G_GUINT64_CONSTANT + misc
This let the macro expands to its value as gint64/guint64. Also - fix lexer identifier/typdef detection for macro and misc - do not discard cast
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r--tests/scanner/regress.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index d8db7aa8..0c071f51 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -259,6 +259,7 @@ GQuark regress_atest_error_quark (void);
#define REGRESS_DOUBLE_CONSTANT 44.22
#define REGRESS_STRING_CONSTANT "Some String"
#define REGRESS_Mixed_Case_Constant 4423
+#define REGRESS_G_GINT64_CONSTANT (G_GINT64_CONSTANT (1000))
/* structures */
typedef struct _RegressTestStructA RegressTestStructA;