~win-cross-dev/win-cross/gettext

« back to all changes in this revision

Viewing changes to gettext-tools/gnulib-tests/test-moo-asub1.oo.c

  • Committer: Nathan Osman
  • Date: 2012-08-11 05:06:52 UTC
  • Revision ID: admin@quickmediasolutions.com-20120811050652-ochkxjtonbw6kkve
Initial commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <config.h>
 
2
 
 
3
/* Specification.  */
 
4
#include "test-moo-asub1.h"
 
5
 
 
6
#pragma implementation
 
7
 
 
8
int asub1::write (asub1_t x, void *buf, size_t len)
 
9
{
 
10
  fwrite (buf, 1, len, x->fp);
 
11
  return 0;
 
12
}
 
13
 
 
14
void asub1::do_free (asub1_t x)
 
15
{
 
16
  free (x);
 
17
}