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-unsubscr...@arrow.apache.org

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


Reply via email to