Hi,

I'm trying to wrap the LCIO file format http://lcio.desy.de/ in Julia.
I have a proof of principle working and am starting to add more of the API.

What totally stumps me is this signature:
virtual const std::vector< std::string > * 
getCollectionNames 
<http://lcio.desy.de/v02-04-03/doc/doxygen_api/html/classEVENT_1_1LCEvent.html#a9128a3f65b8a94629c0cf5e77c0194ac>
 () 
const =0
http://lcio.desy.de/v02-04-03/doc/doxygen_api/html/classEVENT_1_1LCEvent.html#a9128a3f65b8a94629c0cf5e77c0194ac

I've created a C library to call from Julia, so I'm happy to convert the 
return type to char**, but I just cannot figure out how to write a ccall 
that doesn't segfault.
I've seen various examples how to convert a Julia array of strings to a 
char**, but couldn't find anything that converts a char** to Julia types.

Any help is greatly appreciated.

Jan

Reply via email to