Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gettext-tools / gnulib-tests / test-moo-root.oo.c
1 #include <config.h>
2
3 /* Specification.  */
4 #include "test-moo-root.h"
5
6 #include <stdio.h>
7
8 #pragma implementation
9
10 int root::write (root_t x, void *buf, size_t len)
11 {
12   fwrite (buf, 1, len, stdout);
13   return 0;
14 }
15
16 void root::do_free (root_t x)
17 {
18   free (x);
19 }