[C++-sig] Re: [Implementation] Calling wrapped functions, converters, policies
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Fri Sep 19 04:38:25 CEST 2003
>>>>> "RWGK" == Ralf W Grosse-Kunstleve <rwgk at yahoo.com> writes:
RWGK> --- David Abrahams <dave at boost-consulting.com> wrote:
>> What's the difference between custom-written interface files
>> and custom-written Pyste scripts?
RWGK> Can you have if statements, loops and subroutines in SWIG
RWGK> interface files, or importable modules that concentrate
RWGK> frequently used functionality? Also, how do the C++ parsers
RWGK> in g++ and SWIG compare?
AFAIK with SWIG, if's are possible, loops are not. You can define
quite powerful macros and you could call them 'subroutines'. The SWIG
C++ parser is not perfect but works with most C++. It is however
*really* fast compared to g++/GCC_XML, I'd say about 10x faster.
cheers,
prabhu
More information about the Cplusplus-sig
mailing list