summaryrefslogtreecommitdiffstats
path: root/gnulib-local/tests/test-moo-root.oo.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-12-04 13:35:38 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:26 +0200
commit720535066aef552d5171d04db2327d413b92c6ca (patch)
treed20c9191e2fd208abe50e7bd68a99f6ae9e6bfb6 /gnulib-local/tests/test-moo-root.oo.h
parent70623d8ff3ac939f06c006eb804e84e4cc104efc (diff)
downloadexternal_gettext-720535066aef552d5171d04db2327d413b92c6ca.zip
external_gettext-720535066aef552d5171d04db2327d413b92c6ca.tar.gz
external_gettext-720535066aef552d5171d04db2327d413b92c6ca.tar.bz2
New module 'moo-tests'.
Diffstat (limited to 'gnulib-local/tests/test-moo-root.oo.h')
-rw-r--r--gnulib-local/tests/test-moo-root.oo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnulib-local/tests/test-moo-root.oo.h b/gnulib-local/tests/test-moo-root.oo.h
new file mode 100644
index 0000000..4fe9d3f
--- /dev/null
+++ b/gnulib-local/tests/test-moo-root.oo.h
@@ -0,0 +1,10 @@
+#include <stdlib.h>
+#include "moo.h"
+
+/* Define a root class. */
+struct root
+{
+methods:
+ int write (root_t x, void *buf, size_t len);
+ void do_free (root_t x);
+};