swig/Source/Modules
Vadim Zeitlin 16548cced0 Simplify and make more efficient building Python docstrings.
Make the rules for combining explicitly specified docstring, autodoc one and
the one obtained by translating Doxygen comments implicit in the structure of
the code itself instead of writing complicated conditions checking them.

This results in small changes to the whitespace in the generated Python code
when using autodoc, but this makes it PEP 8-compliant, so it is the right
thing to do anyhow.

Also cache the docstring built from translated Doxygen comments. The existing
code seemed to intend to do it, but didn't, really. This helps with
performance generally speaking (-10% for a relatively big library using a lot
of Doxygen comments) and also makes debugging Doxygen translation code less
painful as it's executed only once instead of twice for each comment.

Finally, avoid putting "r", used for Python raw strings, into docstrings in C
code, it is really not needed there.
2014-08-22 17:45:23 +02:00
..
allegrocl.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
allocate.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
browser.cxx Add lambda functions to the symbol tables and add ability to suppress lambda warnings. 2013-02-04 20:05:34 +00:00
cffi.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
chicken.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
clisp.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
contract.cxx Cosmetics/code beautification of nested class support 2013-11-29 07:29:58 +00:00
csharp.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
d.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
directors.cxx Add support for thread_local when specified with other legitimate storage class specifiers - extern and static 2013-02-08 06:36:39 +00:00
emit.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
go.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
guile.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
java.cxx Replace DoxygenTranslator debug parameters with a single flags one. 2014-08-13 16:11:30 +02:00
javascript.cxx Fix function naming conflict with class overloads. 2014-06-06 18:24:22 +02:00
lang.cxx Make Language::classLookup() and enumLookup() static. 2014-08-22 17:45:22 +02:00
lua.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
main.cxx Create separate extetnd.c file for handling extensions / %extend 2014-05-21 19:16:15 +01:00
modula3.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
module.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
mzscheme.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
nested.cxx %extend symbols for nested structs get into a wrong C symbol table 2014-05-28 22:15:50 +04:00
ocaml.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
octave.cxx Octave: remove deprecated -global/-noglobal command-line arguments 2014-05-29 23:42:55 +02:00
overload.cxx Removing obsolete debug code 2014-02-19 13:34:48 +04:00
perl5.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
php.cxx [PHP] The generated __isset() method now returns true for read-only properties. 2014-05-01 14:37:58 +12:00
pike.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
python.cxx Simplify and make more efficient building Python docstrings. 2014-08-22 17:45:23 +02:00
r.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
README File move 2002-12-03 20:33:35 +00:00
ruby.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
s-exp.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
swigmain.cxx Alphabetical order for Javascript in -help output 2014-04-10 08:11:33 +01:00
swigmod.h Make Language::classLookup() and enumLookup() static. 2014-08-22 17:45:22 +02:00
tcl8.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
typepass.cxx obscure case workaround in std::set wrapper, where ignored type still need to be processed 2014-05-19 02:05:23 +04:00
uffi.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
utils.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
xml.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00

06/25/2002

This directory contains all of the SWIG language modules.  Many of these
modules contain code that dates back to SWIG1.0.  The module API has changed
a lot in the development releases so this is fairly messy.  We're working on
cleaning it up, but you'll have to bear with us until it's done.

-- Dave