Skip to content

adaptor for C raw array#20

Merged
SylvainCorlay merged 1 commit intoxtensor-stack:masterfrom
JohanMabille:pointer_adaptor
Dec 31, 2016
Merged

adaptor for C raw array#20
SylvainCorlay merged 1 commit intoxtensor-stack:masterfrom
JohanMabille:pointer_adaptor

Conversation

@JohanMabille
Copy link
Copy Markdown
Member

@SylvainCorlay This is an adaptor on C raw array, meant to be used as shape_type / stride_type in xtensor when binding on python arrays. A dedicated allocator should be used instead of the standard one, to ensure reference counting is correct in python when resizing / allocating / deallocating python buffers.

@SylvainCorlay SylvainCorlay merged commit d35053e into xtensor-stack:master Dec 31, 2016
@JohanMabille JohanMabille deleted the pointer_adaptor branch February 10, 2017 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants