We can't rely on the default-generated copy ctor because it simply copies the (possibly) owned pointer, resulting in double destruction if it's ever used, so disable it completely unless it is explicitly declared in the original class, in which case we can wrap it using the C function wrapper defined for it. Note that we probably should also wrap default-generated copy ctor of the original class, if it has any, but currently we don't do it even at C wrappers level, and so can't do it for C++ wrappers neither. |
||
|---|---|---|
| .. | ||
| CParse | ||
| DOH | ||
| Doxygen | ||
| Include | ||
| Modules | ||
| Preprocessor | ||
| Swig | ||
| Makefile.am | ||
| README | ||
SWIG Source directory
Source/DOH - A core set of basic datatypes including
strings, lists, hashes, and files. Used
extensively by the rest of SWIG.
Source/Swig - Swig core. Type-system, utility functions.
Source/Preprocessor - SWIG C Preprocessor
Source/CParse - SWIG C Parser (still messy)
Source/Modules - Language modules.
Source/Include - Include files.