Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GLib] Add a sub Buffer class for GBytes based buffer #44349

Open
kou opened this issue Oct 9, 2024 · 0 comments
Open

[GLib] Add a sub Buffer class for GBytes based buffer #44349

kou opened this issue Oct 9, 2024 · 0 comments

Comments

@kou
Copy link
Member

kou commented Oct 9, 2024

Describe the enhancement requested

garrow_buffer_new_bytes() uses raw arrow::Buffer. So we need to keep life time for underlying GBytes data. If we have a sub Buffer class that refers (g_bytes_ref()) underlying GBytes data, we can keep life time for underlying GBytes data automatically.

See also: #44341 (comment)

Component(s)

GLib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant