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
Stefan Zager
f2b0d2ef40
Added comment about -builtin in Memory Management section.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 08:15:16 +00:00
Stefan Zager
0aa8729d50
Added more documentation of -builtin.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-30 07:59:52 +00:00
Stefan Zager
6b3d2aa2d5
Some incomplete documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-10 06:32:11 +00:00
William S Fulton
162ced78f4
Better linkchecker configuration for checking html links. Fix broken links and update redirected links.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 23:17:23 +00:00
William S Fulton
005b70be3a
Chapter renumbering after adding D chapter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:05:44 +00:00
Olly Betts
569470c4b9
Fix typo (extra ')') in Python docs (SF#3131673).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-12-10 05:52:45 +00:00
William S Fulton
863aab5b4c
Chapter renumbering after Go added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 06:10:55 +00:00
Olly Betts
507ae34452
Fix typos in __disown__() example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 15:14:29 +00:00
Olly Betts
3f47ff6988
Fix more doubled word typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-23 03:43:31 +00:00
William S Fulton
58a7e2c3d6
Remove incorrect documentation about %ref and %unref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-01 10:02:23 +00:00
William S Fulton
673ce4551e
Fix numerous broken links reported by linkchecker
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 23:23:43 +00:00
William S Fulton
e554146aac
Fix a few inconsistencies in reporting of file/line numberings including modifying the overload warnings to now be two line warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 19:34:43 +00:00
William S Fulton
43e07da0f6
Update warnings to newer slightly modified warning format
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 00:56:02 +00:00
William S Fulton
f83d09f276
Section number renumbering
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-20 01:20:50 +00:00
William S Fulton
dde16ac54a
Removed empty sections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-14 22:07:51 +00:00
William S Fulton
3932d02a2a
fix SWIG naming convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-21 00:25:11 +00:00
Olly Betts
3c39833584
Use -O2 in the GCC examples as GCC defaults to not optimising at all.
...
Document using GCC's -fPIC option as the standard approach - x86 is the oddity
here and most architectures require it (or are always PIC), and on x86 it's
better to use it or else code pages from the library need relocations and can't
be shared.
Use "python2.5" rather than "python2.0" in paths in example commands.
Fix a typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-30 12:24:49 +00:00
William S Fulton
23a5f4f955
quote %include statements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-06-17 06:56:55 +00:00
William S Fulton
9ed9e006bc
new section numbering since adding in ccache chapter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 01:49:58 +00:00
Haoyu Bai
75eb4d20d6
more document for limitation of parameter list, and doc of removal of -apply in CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 14:11:49 +00:00
Haoyu Bai
3d8ddfc442
Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
...
This is the (incomplemete) log produced by svnmerge.py:
Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
Olly Betts
9ef207297e
[Python] Add %newobject reference to python memory management subsection of manual
...
(patch from mdbeachy in SF#1894610).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:59:26 +00:00
William S Fulton
c99fe90574
Put the chapters back in order after erroneously incorrectly reordering them in last checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 22:41:58 +00:00
William S Fulton
f74c2b9ede
Add in Octave and R sections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 22:13:14 +00:00
Olly Betts
1b1e222169
[Python] Fill in Python Dictionary functions list (patch from
...
Jelmer Vernooij posted to swig-user).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 17:01:21 +00:00
William S Fulton
5f1ac9567b
Docs updated to suggest using distutils. Patch #1796681 from Christopher Barker.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:37:56 +00:00
Olly Betts
8d304ae602
Escape < and > in HTML since unescaped instances confuse htmldoc and cause it
...
to mangle the "one HTML page" version of the manual.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:12:09 +00:00
William S Fulton
d89fac038b
On windows use .pyd instead of .dll - Python-2.5 no longer works with dlls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-20 21:34:27 +00:00
William S Fulton
1a439a9e19
$self special variable for %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 00:54:28 +00:00
William S Fulton
7bd6268607
changes after running section number updater
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 22:43:55 +00:00
William S Fulton
5d40ec2692
Bug #1472089 - clearer first example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 23:05:36 +00:00
Olly Betts
f5951ecb34
Fix some typos.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-21 11:13:33 +00:00
Marcelo Matus
52cfa52b83
fix docs, path provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Marcelo Matus
735ac78241
fix mispelled prepend, reported by Jeremy McCormick
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:44:26 +00:00
Marcelo Matus
51537af05a
fix bug #1094964
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 06:27:47 +00:00
Robin Dunn
ffb572742b
Typos fixed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 23:50:59 +00:00
Marcelo Matus
146958ad78
add and extend missing/deleted docs for the pythonappend/pythonpreppend features and the new directive forms %pythonappend/%pythonpreppend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
5b9da12c6f
add docs about the new directive forms %ref/%unref for the old ref/unref features
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:07:28 +00:00
Marcelo Matus
91d4692367
adding several docs patches
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:52:39 +00:00
William S Fulton
7c088c87dd
Update after runnning make - chapter numbers have changed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 22:57:21 +00:00
William S Fulton
8fb1fd4c43
update wiki address
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-12 18:27:20 +00:00
Ahmon Dancy
4098a01b68
Huge update to the Allegrocl module. Better C support. C++ support
...
added. Documentation! Makes use of typemaps for better interface
tuning. Improved type support. Wrapping of foreign pointers in
CLOS objects; hopefully a step toward being able to extend C++
classes from Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 20:44:22 +00:00
William S Fulton
42a4d6f35d
Link to read-only variables section added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-06 21:49:58 +00:00