t(Foo *self, int value) {
    return (self-&gt;x = value);
}
</pre>
</blockquote>

<p>
<li><b>Constructors</b>.  Constructors for C/C++ data structures are wrapped by
a function like this:

<blockquote>
<pre>
Foo *new_Foo() {
    return new Foo;
}
</pre>
</blockquote>
Note: For C, new objects are created using the calloc() function.

<p>
<li><b>Destructors</b>.  Destructors for C/C++ data structures are wrapper like this:

<blockquote>
<pre>
void delete_Foo(Foo *self) {
    delete self;
}
</pre>
</blockquot