diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-12-24 07:38:37 +0000 |
---|---|---|
committer | <> | 2015-02-02 12:02:29 +0000 |
commit | 482840e61f86ca321838a91e902c41d40c098bbb (patch) | |
tree | 01ea2e242fd2792d19fe192476601587901db794 /gettext-tools/gnulib-tests/test-moo-asub1.oo.c | |
download | gettext-tarball-482840e61f86ca321838a91e902c41d40c098bbb.tar.gz |
Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz.gettext-0.19.4
Diffstat (limited to 'gettext-tools/gnulib-tests/test-moo-asub1.oo.c')
-rw-r--r-- | gettext-tools/gnulib-tests/test-moo-asub1.oo.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gettext-tools/gnulib-tests/test-moo-asub1.oo.c b/gettext-tools/gnulib-tests/test-moo-asub1.oo.c new file mode 100644 index 0000000..bb5da83 --- /dev/null +++ b/gettext-tools/gnulib-tests/test-moo-asub1.oo.c @@ -0,0 +1,17 @@ +#include <config.h> + +/* Specification. */ +#include "test-moo-asub1.h" + +#pragma implementation + +int asub1::write (asub1_t x, void *buf, size_t len) +{ + fwrite (buf, 1, len, x->fp); + return 0; +} + +void asub1::do_free (asub1_t x) +{ + free (x); +} |