You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/01/03 19:26:59 UTC

[GitHub] [arrow] lafiona commented on pull request #12004: ARROW-13185: [MATLAB] Create a single MEX gateway function which delegates to specific C++ functions

lafiona commented on pull request #12004:
URL: https://github.com/apache/arrow/pull/12004#issuecomment-1004306539


   @edponce, `mexfcn` only receives input arguments from MATLAB. End users will interact with the MATLAB APIs, which will make use of `mexfcn`. `mexfcn` will dispatch to individual C++ functions that implement the necessary function specific behavior. 
   
   Depending on the needs of a particular C++ function, developers can pass options in the way that they deem appropriate, in order to get that information to the C++ layer. `mexfcn` accepts a variable number of input arguments, of any type, from MATLAB. So a developer could pass an options struct to `mexfcn` in order to propagate any options to the C++ layer. The translation from the options struct to C++ data structures would need to be taken care of by the specific C++ functions. 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org