summaryrefslogtreecommitdiff
path: root/tests/scanner/sletter.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-07-02 16:15:05 -0400
committerColin Walters <walters@verbum.org>2012-07-02 16:19:11 -0400
commit3077744451293c0bd399866b2accf10fa6a30877 (patch)
tree1c07de24290c35700a9c7ed354c45c09421572f2 /tests/scanner/sletter.h
parentb8625d15100abbef264d905c47863149572c6520 (diff)
downloadgobject-introspection-3077744451293c0bd399866b2accf10fa6a30877.tar.gz
tests: Add GSpawnError-alike to SLetter
See https://bugzilla.gnome.org/show_bug.cgi?id=637025 for motivation.
Diffstat (limited to 'tests/scanner/sletter.h')
-rw-r--r--tests/scanner/sletter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scanner/sletter.h b/tests/scanner/sletter.h
index 09965b88..24dfd68c 100644
--- a/tests/scanner/sletter.h
+++ b/tests/scanner/sletter.h
@@ -10,4 +10,13 @@ typedef struct {
void s_hello (void);
+/* Like GSpawnError; not registered with GType */
+typedef enum
+{
+ S_SPAWN_ERROR_CODE1 = 1,
+ S_SPAWN_ERROR_CODE2 = 2,
+ S_SPAWN_ERROR_CODE3 = 3
+} SSpawnError;
+GQuark s_spawn_error_quark (void);
+
#endif