[ 
https://issues.apache.org/jira/browse/ARROW-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982029#comment-16982029
 ] 

Wes McKinney commented on ARROW-1058:
-------------------------------------

This issue is probably superseded by the C API work

> [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
(v8.3.4#803005)

Reply via email to