From: William S F. <ws...@fu...> - 2006-11-25 00:04:36
|
Computing Objects wrote: > Hi, > > This question may be ridiculous to you, but could SWIG generate a C > header of the wrapping interface ? > Not a ridiculous question, it comes up every now and again. > I have a C++ library with classes and nested classes (I have read that > SWIG can not regrettably parse nested classes so far). > I would like to generate a C# and a Python interface (great ! SWIG seems > to do that quite well), but also I would like a plain C interface to > this C++ API. > As far as I know, SWIG generates a *_warp.cxx file. Why not also a > *wrap.h file for the plain C-style wrapper functions ? > This would be entirely possible, but no-one has prioritised writing a 'C' language module yet. William |