Re: [Pharo-dev] [UFFI] Call a function where argument type is char ** (argv)

2016-05-31 Thread Blondeau Vincent
TL;DR: How to pass as argument an array of Strings (char **) with Unified-FFI? Vincent De : Blondeau Vincent Envoyé : mercredi 25 mai 2016 13:58 À : Pharo Development List Objet : [UFFI] Call a function where argument type is char ** (argv) Hello, I have written a R bridge in Pharo and I would

[Pharo-dev] [UFFI] Call a function where argument type is char ** (argv)

2016-05-25 Thread Blondeau Vincent
Hello, I have written a R bridge in Pharo and I would like to migrate it from NativeBoost to UFFI. Most of the changes are easy to do but I am stuck to a double pointer problem. I have to call the function: int Rf_initEmbeddedR(int argc, char ** argv). I know how to give the int but the char **