Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Members of structures defined by sb-grovel are currently limited to
integers, c-strings and arrays. I encountered a situation where I
wanted to have structures as members of structures, and sometimes
enums are nice too.
The attached patch allows members to be of any alien type.
Structure members of type structure are handled somewhat differently
than members of other types. This is because the interface functions
that are created by sb-grovel take and return alien pointers to
structures instead of the structures themselves. To be compatible
with this, accessors to members of type structure need a call to
sb-alien:addr in the reader and a call to sb-alien:deref in the writer.