Eo array callback: simplify code and fix reliance on gcc extensions.
authorTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2016 15:25:34 +0000 (16:25 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2016 15:25:36 +0000 (16:25 +0100)
commitb9c5ef4eea486b2f1a31f5e778f71ec10501baf4
tree7e9a4c09541a73f37b81d95dd0b36b9888039d8d
parentf13bb9d9f5d89083485b8c1cded64e1969108d98
Eo array callback: simplify code and fix reliance on gcc extensions.

As far as I remember, declaring structures and arrays in a cast is a GCC
extension. I'm not 100% sure I'm right, but I remember it was the case.

Regardless of whether it's an extension or not, this commit removes that
pattern and makes everything cleaner (and faster?).
src/lib/eo/Eo.h