Skip to content

FilterPipeline::run_reverse offsets tile is const, and some other tweaks#5768

Merged
rroelke merged 7 commits into
mainfrom
rr/more-rs-bind-support
Mar 3, 2026
Merged

FilterPipeline::run_reverse offsets tile is const, and some other tweaks#5768
rroelke merged 7 commits into
mainfrom
rr/more-rs-bind-support

Conversation

@rroelke
Copy link
Copy Markdown
Contributor

@rroelke rroelke commented Mar 3, 2026

Similar to #5766 , this is useful for declaring Rust bindings to these methods, since Rust is much stricter about mutability.


TYPE: NO_HISTORY
DESC: FilterPipeline::run_reverse offsets tile is const

Comment thread tiledb/sm/array/array.h

/** Returns the opened array. */
inline const shared_ptr<OpenedArray> opened_array() const {
inline const shared_ptr<OpenedArray>& opened_array() const {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a strange one. The Rust #[cxx::bridge] expanded C++ code does not handle the return type of const std::shared_ptr<T> even though this should be equivalent to a return of std::shared_ptr<T>.

@rroelke rroelke requested review from kounelisagis and shaunrd0 March 3, 2026 16:12
Comment thread tiledb/sm/array/array.h Outdated
@rroelke rroelke merged commit 7f05baa into main Mar 3, 2026
56 checks passed
@rroelke rroelke deleted the rr/more-rs-bind-support branch March 3, 2026 23:14
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