1 2 3 4 5 6 7 8 9
struct foo { void *entry[40]; } __attribute__ ((aligned(32))); int foo (struct foo *ptr, int idx, void *pointer) { ptr->entry[idx] = pointer; return 0; }