William S Fulton
8288ac15a0
Correct links in html documentation using new version of makechap.py
...
Corrects position of heading text within A and H1, H2, ... elements.
2015-12-30 22:22:32 +00:00
William S Fulton
01611702ec
Python 2 Unicode strings can be used as inputs to char * or std::string types
...
Requires SWIG_PYTHON_2_UNICODE to be defined when compiling generated code.
2015-12-19 03:55:26 +00:00
William S Fulton
0ae5bfa6e2
html links updates
2015-12-18 21:14:44 +00:00
William S Fulton
51ee23b580
Link to distutils fix
2015-12-05 19:25:18 +00:00
William S Fulton
803ba97a83
Update docs for shared_ptr
2015-10-01 22:36:01 +01:00
xantares
92328a2016
pep257 & numpydoc conforming docstrings
2015-08-07 22:15:13 +01:00
William S Fulton
3b859ab539
Html doc fixes
2015-07-05 17:16:37 +01:00
Olly Betts
8208d12aa5
Document use of %pythoncode "file.py"
...
As discussed in github issue #379 .
2015-06-29 22:24:59 +12:00
William S Fulton
b8e1a66a38
Add new feature "python:cdefaultargs"
...
Controls default argument code generation to obtain the default
arguments from the C++ layer instead of the Python layer.
2015-05-28 20:11:57 +01:00
Olly Betts
af113fa6f0
Add missing ; after C++ class definitions
2015-03-20 13:46:28 +13:00
William S Fulton
7c2ed7eae5
Python html doc cosmetic tweaks
...
[skip ci]
2015-02-02 20:00:07 +00:00
William S Fulton
76d813f321
Python director documentation correction
...
Fixes #https://github.com/swig/www/issues/2
[skip ci]
2015-02-02 19:52:07 +00:00
Olly Betts
4b5ed45d50
Add note about delimiting blocks of Python code
...
Using { and } to delimit means Python comments will cause errors with
SWIG 3.0.3 and later. With older SWIG it usually just meant such
comments failed to appear in the generated output. See issue #221 .
2015-01-09 14:52:46 +13:00
Olly Betts
f541e604e8
Consistently put whitespace outside of <tt>...</tt> and not inside
2014-11-18 12:44:37 +13:00
William S Fulton
eeb1133606
Javascript html links and typo fixes
2014-05-27 23:39:46 +01:00
Harvey Falcic
20ddfb7fcd
Python 3 'surrogateescape' docs: fix div class for Python code
2014-05-24 13:30:03 -04:00
Harvey Falcic
5fc851a1e0
Add Python 3 'surrogateescape' documentation
2014-05-23 15:45:47 -04:00
William S Fulton
4a680e5545
html doc chapter numbering update since adding Javascript
2014-05-09 23:39:03 +01:00
Paweł Tomulik
426dd3312f
minor corrections to python documentation
2014-05-07 17:23:03 +02:00
William S Fulton
785d93d9fb
html fixes and section updates
2014-03-15 22:45:43 +00:00
Olly Betts
48476af609
Remove semicolons after function definitions
2014-02-24 10:13:11 +13:00
Paweł Tomulik
0ed98c0606
added example with %pythonbegin
...
This was requested in PR #7 but overlooked. Contains an example where
one does: from __future__ import absolute_import using %pythonbegin
directive.
2014-02-21 19:12:59 +00:00
William S Fulton
91120c84f2
Python imports documentation edits
2013-12-24 17:22:42 +00:00
Paweł Tomulik
f53bd5a1e1
Documentation for improved python import option
...
Docs for SFbug1297 patch (PR #7 )
closes #111
2013-12-24 17:22:42 +00:00
William S Fulton
d0af4f50d3
Add %pythonbegin directive.
...
For adding code at the beginning of the generated .py file.
2013-07-05 06:30:16 +01:00
William S Fulton
7f95c7bb3e
Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => SWIG_PYTHON_INTERPRETER_NO_DEBUG
2013-06-11 19:15:57 +01:00
William S Fulton
5cdfc503e1
Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the Python Debug dll
2013-06-11 00:22:21 -07:00
William S Fulton
1ac275790d
Clarify pythonprepend and pythonappend features when used on overloaded methods/constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-10 19:45:04 +00:00
Olly Betts
8fe63be051
Fix doc typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-31 04:12:17 +00:00
William S Fulton
c47fd5fdd5
Director documentation corrections to match reality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-30 05:59:46 +00:00
William S Fulton
d005a2cc3f
New section numbering adding in Android chapter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 16:53:04 +00:00
William S Fulton
5923117e81
HTML cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 14:01:20 +00:00
William S Fulton
c794d08597
Fix %newobject when used in conjunction with %feature(ref). The code from the ref feature was not always being generated for the function specified by %newobject. Documentation for ref and unref moved from Python to the C++ chapter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-23 19:29:10 +00:00
William S Fulton
61124e61a7
documentation - consistency in shadow/proxy terminology
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-20 22:18:47 +00:00
William S Fulton
3243cbaad4
Numerous autodoc fixes for Python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-10 19:33:40 +00:00
Olly Betts
c44249f32c
Add link to PEP 3107.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-24 23:55:35 +00:00
Olly Betts
18174ed370
Add link to PEP 3119.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-24 23:53:59 +00:00
William S Fulton
fe7a09c04a
html fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-19 06:37:41 +00:00
Stefan Zager
af858d846e
Fixes for -builtin docs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-18 03:25:35 +00:00
Stefan Zager
90d20c7fe8
Cleaned up section about dependency requirements for -builtin.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-17 21:53:39 +00:00
Stefan Zager
cb0a975206
Documented non-looping dependency graph requirement for -builtin.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-16 06:12:15 +00:00
William S Fulton
830e019a09
HTML fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-14 01:09:36 +00:00
Stefan Zager
efafe8e70b
Fix example to show %feature directive before method declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-06 23:30:27 +00:00
Stefan Zager
60561bfe33
-builtin feature will appear in 2.0.4
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-03 08:35:26 +00:00
Stefan Zager
48faf20934
Added python version support to the built-in section.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-02 21:35:34 +00:00
Stefan Zager
da1fc2ff6a
Fixed exception example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-01 19:39:14 +00:00
Stefan Zager
cd7fc2047b
Factored some #ifdef noise out of the initialization function by adding
...
SwigPyBuiltin_SetMetaType.
For %import statements, move the runtime import out of SWIG_init and into the
.py file. The reason for this is that the import must be executed within the
python execution frame of the module, which is true in the .py file, but *not*
true in the initialization function. Had to re-order the .py file slightly
to put the 'import' statements at the top; that's necessary to make sure base
types from an imported module are initialized first. If -builtin isn't used,
then the .py code is not re-ordered.
Added an explanation and workaround for the limitation that wrapped types are
not raise-able.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-04-01 19:35:30 +00:00
William S Fulton
e4f434173d
Minor html changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-31 20:29:35 +00:00
Stefan Zager
0e57a29a27
More tweaking of -builtin docs. More judicious selection of names in the operator overload example.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 22:01:25 +00:00
Stefan Zager
bc200998b1
Added usage message for -builtin, and tweaked -builtin docs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 19:51:22 +00:00