paleolimbot commented on code in PR #16: URL: https://github.com/apache/arrow-nanoarrow/pull/16#discussion_r942431188
########## src/nanoarrow/typedefs_inline.h: ########## @@ -166,6 +166,24 @@ enum ArrowType { NANOARROW_TYPE_INTERVAL_MONTH_DAY_NANO }; +/// \brief Functional types of buffers as described in the Arrow Columnar Specification +enum ArrowBufferType { + NANOARROW_BUFFER_TYPE_NONE, + NANOARROW_BUFFER_TYPE_VALIDITY, + NANOARROW_BUFFER_TYPE_TYPE_IDS, + NANOARROW_BUFFER_TYPE_OFFSET, + NANOARROW_BUFFER_TYPE_DATA +}; + +/// \brief A description of an arrangement of buffers +struct ArrowLayout { Review Comment: Hang tight...it helps with a generic "reserve" that doesn't have to special case every storage type. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org