C objects array FFI generation with macros