[ https://issues.apache.org/jira/browse/ARROW-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761431#comment-16761431 ]
Wes McKinney commented on ARROW-1058: ------------------------------------- At some point I think it would be a good idea to create a complete implementation of data structures and IPC (which can use flatcc) in ANSI C or C99 > [C++] Define minimalist C structs for exposing Arrow data types to C code > ------------------------------------------------------------------------- > > Key: ARROW-1058 > URL: https://issues.apache.org/jira/browse/ARROW-1058 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ > Reporter: Wes McKinney > Priority: Major > > This can also accompany an alternate IPC loader which does not use > {{shared_ptr<Buffer>}} or other currently-in-use tools for RAII-based object > lifetime. > For example, we would be able to expose {{arrow::StringArray}} to C code in a > struct like > {code:language=c} > typedef struct { > int64_t length; > int64_t offset; > int64_t null_count; > const uint8_t* valid_bits; > } arrow_array_t; > typedef struct { > struct arrow_array_t base; > const int32_t* offsets; > const uint8_t* data; > } arrow_string_array_t; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)