From: William S F. <ws...@fu...> - 2016-02-04 22:17:42
|
On 19 January 2016 at 15:21, Mosesson, Daniel B. <Dan...@gd...> wrote: > Is there a way to get swig to take in a large set of c++ header files and do > something like: > > For all template functions, create functions of the form fname_typename1 > > List all functions that could not be completely wrapped > > I don’t want to write the .i files by hand as there are thousands of lines > of headers. Is this possible? I understand that the output may be very > verbose, but that is not a problem. > If you don't want to write the .i files by hand, then craft something up in code. One idea to consider is to run swig -xml and process the resulting xml to generate the code for the .i file. William |