summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-23 23:04:35 -0500
committerColin Walters <walters@verbum.org>2009-02-24 14:23:37 -0500
commitf3f8de20114405bae29a354d67c38a7bf0b096a2 (patch)
treeae6a6917db11c909f84771da264f7f5930154d09 /tests/scanner/foo.c
parent7bd4bc6807dc829f6e8ea4db1b58a85e365b8b97 (diff)
downloadgobject-introspection-f3f8de20114405bae29a354d67c38a7bf0b096a2.tar.gz
Bug 572790 - Don't register #defines from .c files as constants
We keep track of the source filename for every symbol. This enables us to later filter symbols based on that name.
Diffstat (limited to 'tests/scanner/foo.c')
-rw-r--r--tests/scanner/foo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c
index 0e5beb68..04882603 100644
--- a/tests/scanner/foo.c
+++ b/tests/scanner/foo.c
@@ -1,5 +1,3 @@
-#define FOO_SUCCESS_INT 0x1138
-
#include "foo.h"
/* A hidden type not exposed publicly, similar to GUPNP's XML wrapper
@@ -524,3 +522,5 @@ void
foo_buffer_some_method (FooBuffer *buffer)
{
}
+
+#define FOO_DEFINE_SHOULD_NOT_BE_EXPOSED "should not be exposed"