blob: ef07447bb5f355054ffa007cff5f63e6800ceee2 [file] [log] [blame]
#include <stdlib.h>
#include "moo.h"
/* Define an abstract root class. */
struct aroot
{
methods:
int write (aroot_t x, void *buf, size_t len);
void do_free (aroot_t x);
};