[MLton] passing a const char **

John Reppy jhr at cs.uchicago.edu
Mon Dec 11 15:42:02 PST 2006


I need to call a C function that takes as an argument an array of  
strings
(with type const char **).  Unfortunately, trying to import the function
with a "string vector" argument type doesn't work.  Is there a good  
reason
for this restriction?  Am I going to have to malloc the strings to pass
them as arguments?

	- John




More information about the MLton mailing list