Object-like interaction with struct members
Object-like interaction with struct members

Ported from the Bonsai code.  This allows a developer to interface with a struct in both manners described below:

Method A (Ruby-FFI default):  aStruct[:member] = 0

Method B:  aStruct.member = 0
npomf/hephaestus