sgilmore10 opened a new pull request, #46907: URL: https://github.com/apache/arrow/pull/46907
### Rationale for this change ### What changes are included in this PR? This is a follow up to https://github.com/apache/arrow/pull/38357#discussion_r1365908049. In the C++ code for the MATLAB interface, we frequently `wrap`/`unwrap` Arrow types, like `arrow::Array`, into/from a corresponding `libmexclass` `Proxy` objects. This currently takes several lines of code, leading to lots of code duplication and introduces room for subtle implementation errors. It would be helpful to abstract away some of the steps involved in `Proxy` creation/management into a set of helper utilities that we can reuse in the C++ code for the MATLAB interface. ### Are these changes tested? ### Are there any user-facing changes? **This PR includes breaking changes to public APIs.** (If there are any breaking changes to public APIs, please explain which changes are breaking. If not, you can remove this.) **This PR contains a "Critical Fix".** (If the changes fix either (a) a security vulnerability, (b) a bug that caused incorrect or invalid data to be produced, or (c) a bug that causes a crash (even when the API contract is upheld), please provide explanation. If not, you can remove this.) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
