Olly Betts
631b41ae7b
Use https for swig.org links
2022-10-06 13:16:39 +13:00
Olly Betts
2a9431ebfb
Remove confusing extra parameter from doc example
...
The initial prototype shown in these examples has a `len` parameter
but that the rest of the example is as if that parameter isn't there
so remove it from the initial prototype.
Fixes https://sourceforge.net/p/swig/bugs/1289/
2022-03-09 15:05:44 +13:00
Olly Betts
b127e11f1e
Fix typos in docs and comments
2022-02-27 18:15:46 +13:00
Olly Betts
0b12398b2c
Perl.html: Fix incorrect references to python
2022-02-16 11:16:36 +13:00
Olly Betts
748a9a5452
[perl] Require at least Perl 5.8.0
...
As discussed and agreed in #1629 , it's become hard to test with Perl
5.6 or earlier, such old versions are no longer in active use, and
4.1.0 is an appropriate time to make such a change.
I've dropped the compatibility code that was obvious to me, but there's
probably more that can be cleaned up now.
2022-01-19 10:07:30 +13:00
Olly Betts
c839066405
[perl] Document explicitly not to use %OWNER directly
...
See #1771
2022-01-18 14:53:02 +13:00
Olly Betts
9ddc9dceb7
Remove support for $source and $target
...
These were officially deprecated in 2001, and attempts to use them have
resulted in a warning (including a pointer to what to update them to)
for most if not all of that time.
Fixes #1984
2021-04-30 10:20:14 +12:00
William S Fulton
b7bcb338cf
Add C++20 documentation chapter
2020-06-08 20:56:40 +01:00
William S Fulton
7070320335
Revert "Add C++20 documentation chapter"
...
This reverts commit 36e8d521de .
Conflicts:
Doc/Manual/R.html
2020-06-08 20:06:55 +01:00
William S Fulton
36e8d521de
Add C++20 documentation chapter
...
[skip-ci]
2020-01-28 20:31:53 +00:00
William S Fulton
34108deec7
Documentation for directors and virtual final methods
2019-03-03 14:52:57 +00:00
Håkon Hægland
6d2aae4718
Fixed typo in Perl5 docs.
...
Fixed typo in section 33.7.2 "Perl5 typemaps". There is no function set_setiv()
in the perl api, the correct name is sv_setiv().
2019-02-12 10:46:56 +13:00
William S Fulton
940e32477d
Update section numbering
2019-02-10 01:03:06 +00:00
William S Fulton
df86ec5af6
Consistent use of target language version of options
...
If a version number is supported by the target language prefer to show it in the -help.
For example, -perl5 instead of -perl.
2019-02-05 19:18:46 +00:00
William S Fulton
4cdca98709
Update html chapter numbering for added Doxygen chapter
2018-05-25 07:56:44 +01:00
William S Fulton
066c396ad6
Add C++17 documentation chapter
2018-05-14 21:29:46 +01:00
William S Fulton
04131a988f
More consistent formatting of examples in documentation
2017-08-16 00:24:25 +01:00
William S Fulton
8052211ac5
More consistent formatting of examples in documentation
2017-08-16 00:24:25 +01:00
William S Fulton
7ee76f93f9
More consistent formatting of examples in documentation
2017-08-16 00:24:25 +01:00
William S Fulton
92d694225a
Update wiki links to new Github wiki site
...
[skip ci]
2017-01-05 18:39:57 +00:00
sunoru
9a6f82ab31
Realign for some comments.
2016-12-31 23:29:45 +08:00
sunoru
8985c34809
Fix some typos in docs and examples and make the code look nicer.
2016-12-31 23:06:56 +08:00
William S Fulton
96015de0dd
Update documentation for using SWIG_ConvertPtr example usage
...
Add a test case to test the example documentation typemaps
2016-10-23 20:16:35 +01:00
William S Fulton
268b942865
Consistent formatting of example code in the docs
2016-10-23 20:16:35 +01:00
William S Fulton
3763beb489
Replace tabs with spaces in html docs
...
wkhtmltopdf is not expanding tabs within <pre> elements to 8 spaces as it
should. Workaround the problem by converting all tabs to an appropriate
number of spaces.
2015-12-30 22:22:33 +00:00
William S Fulton
925b2a336f
HTML fixes for documentation - add meta tag and loose.dtd
2015-12-30 22:22:32 +00:00
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
4a680e5545
html doc chapter numbering update since adding Javascript
2014-05-09 23:39:03 +01:00
William S Fulton
785d93d9fb
html fixes and section updates
2014-03-15 22:45:43 +00:00
Olly Betts
de7ed84f77
Recommend compiling with PIC consistently.
...
While shared objects with non-PIC code work on some architectures
(notably x86), unless code is always PIC on that arch (not true for x86)
doing so requires runtime relocations, which prevents the object
actually being shared, and means such segments can't be marked as
read-only.
2014-02-21 08:09:58 +13:00
Robert Stone
e0789366e7
prefer polymorphism on existing destructor over custom destructor method
2013-11-14 08:23:46 -08:00
Robert Stone
35dc86f064
steals python director docs and adapts to perl5
2013-11-12 14:17:27 -08:00
William S Fulton
a358958e72
Update docs with missing example.c compilation - Bug 3545858
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 11:02:49 +00:00
Olly Betts
7d6da8d319
Update examples to talk about a version of Perl which we actually still
...
support.
Use $ for the shell prompt character, since that matches what most users
will see.
Compile code for shared use with -fPIC, since that's required for most
architectures, and a good idea even on x86.
Fix Sun C++ example to use CC not g++ for invoking the compiler.
Drop space before colon in prose.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 04:18:36 +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
Olly Betts
f320ea1d4a
Update supported Perl versions to more closely reflect reality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-18 04:33:00 +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
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
William S Fulton
9006dc90ce
Correctly mangle the html section names to prevent name clashes in the pdf document
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 19:35:25 +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
William S Fulton
8615adfb07
Remove memory leak for char ** out typemap example, as per Peter Allen email on swig-user on, ahem, 19 July 2006
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 21:58:54 +00:00
Olly Betts
58088c7aab
Sort out odd whitespace around HTML tags.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-13 11:47:40 +00:00
Olly Betts
9042e4d2f9
Document -const option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-13 11:36:20 +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
Jason Stewart
bea5f1d47b
package option for perl5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 13:12:45 +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
8dd64805b9
Fix a couple of repeated typos:
...
"Creatng" -> "Creating"
"visa versa" -> "vice versa"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:22:46 +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