1#include <stdlib.h> 2#include "moo.h" 3 4/* Define an abstract root class. */ 5struct aroot 6{ 7methods: 8 int write (aroot_t x, void *buf, size_t len); 9 void do_free (aroot_t x); 10}; 11