Olly Betts
7ec2f89fe2
Remove redundant NULL checks before free()/delete ( #2184 )
...
Remove redundant NULL checks before free()/delete
The ISO C and C++ standards guarantee that it's safe to call these
on a NULL pointer, so it's not necessary for the calling code to
also check.
Fixes https://sourceforge.net/p/swig/feature-requests/70/
2022-01-29 22:03:48 +13: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
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
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
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
2e8dfbcc3e
Add Scilab to html docs
2015-01-27 19:30:24 +00: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
023037b122
Tcl documentation fixes
...
Mostly suggestions from Ben Golding on swig-devel mailing list
[skip ci]
2014-10-10 20:58:35 +01:00
William S Fulton
e2b4a72f3e
Tcl documentation correction
...
From Ben Golding on swig-devel list.
2014-08-11 19:12:05 +01: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
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
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
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
29b4dbdac1
Not all languages were not in alphabetical order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-04 06:16:21 +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
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
9cd5c28d73
section numbering update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-29 21:01:28 +00:00
Olly Betts
7f5586a370
[Tcl] To complement USE_TCL_STUBS, add support for USE_TK_STUBS
...
and SWIG_TCL_STUBS_VERSION. Document all three in the Tcl chapter
of the manual. Based on patch from SF#2810380 by Christian
Gollwitzer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 14:17:03 +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
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
05ff62fcc2
Fix lots of typos in the manual.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 17:25:04 +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
William S Fulton
06adaed870
fix extern declarations documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:32:46 +00:00
William S Fulton
0a8e2111d3
html validation fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 23:06:56 +00:00
John Lenz
13ad5fff85
- Updated documentation to use CSS and <div> instead of blockquotes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 02:56:29 +00:00
William S Fulton
fc29456d27
"Last updated" date removed from the files that had them as they aren't being maintained.
...
Consistent use of 'proxy' rather than 'shadow' throughout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:27:16 +00:00
William S Fulton
75f28e9f32
Update after running html tools in makefile
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:21:18 +00:00
William S Fulton
aa4d1d907d
Thousands of changes to correct incorrect HTML. HTML is now valid (transitional 4.01).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-04 21:28:14 +00:00
William S Fulton
687cfbb625
Some HTML error fixes
...
Long blockquote lines shortened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 23:21:14 +00:00