cython/cython — pull request #76 by markflorisson88 (2011-12-08 18:05:41+00:00)
Title: Buffer of arrays in structs and padding for alignment on first struct member

This pull requests implements support for buffer views on arrays in structs. It also fixes the offset computation for members following a struct where compilers pad the struct at the end to align on the first member. e.g.

struct foo {
int a;
char b;
};

struct bar {
struct foo first;
char second;
};

Here struct foo is usually padded after char b, so the offset for bar.second will have to be computed correctly.