summaryrefslogtreecommitdiff
path: root/gnulib-local/tests/test-moo-asub1.oo.c
blob: bb5da83816c1dc703002c1004e4d5616f7737d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
}