summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add docs about known shortcomings of C++ wrapping.gsoc2012-cLeif Middelschulte2012-08-201-0/+7
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Revert "Fix shadowing variable declaration", because it breaks c++ return ↵Leif Middelschulte2012-08-201-1/+1
| | | | | | | | value type casting in wrapper functions. This reverts commit 818a9939ecf10ee6cde3e4e389eaf748ec3999d6. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update docs to reflect typemap changes.Leif Middelschulte2012-08-201-36/+21
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update comments in typemaps file.Leif Middelschulte2012-08-201-6/+9
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Reuse 'cmodtype' typemap and remove 'couttype' typemap completely.Leif Middelschulte2012-08-203-44/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Reuse 'ctype' typemap and remove 'proxycouttype' typemap.Leif Middelschulte2012-08-203-35/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Rename 'proxy' to 'ctype' as it's the typemap used for the C API.Leif Middelschulte2012-08-203-30/+30
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Rename 'ctype' typemap to 'cmodtype' since it's only used for internal ↵Leif Middelschulte2012-08-203-34/+34
| | | | | | (wrapper) stuff. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove leftovers of removed 'wrap_call' typemap.Leif Middelschulte2012-08-201-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove leftovers of replaced typemap macroLeif Middelschulte2012-08-201-10/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use macros even more.Leif Middelschulte2012-08-201-96/+57
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Rename internal macro.Leif Middelschulte2012-08-201-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Base macros on types rather than on qualifiers.Leif Middelschulte2012-08-201-67/+33
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Move '[const] T ** const' and size_t of 'out' typemap into macrosLeif Middelschulte2012-08-191-16/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Move '[const] T const **' and 'size_t' of 'in' typemap into macrosLeif Middelschulte2012-08-191-16/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Revert lines, which weren't meant to get in.Leif Middelschulte2012-08-191-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove line that is already covered by macro.Leif Middelschulte2012-08-191-1/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove void 'cppouttype' typemap. Doesn't make sense.Leif Middelschulte2012-08-191-8/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove void arrays.Leif Middelschulte2012-08-191-11/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix typoLeif Middelschulte2012-08-191-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Removed leftovers from macrofication.Leif Middelschulte2012-08-181-2/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix missing macro argument usage due to copy&pastaLeif Middelschulte2012-08-181-12/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* move signed char to the group of types for which no unsigned existLeif Middelschulte2012-08-181-6/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove old (and commented out) region about template typemaps.Leif Middelschulte2012-08-181-10/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Macrofy more typemaps. Does not work yet, because SWIG's preprocessor seems ↵Leif Middelschulte2012-08-181-439/+128
| | | | | | to have problems with empty args of macros. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Macrofy 'ctype' typemapLeif Middelschulte2012-08-181-137/+14
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Macrofy 'proxy' typemap.Leif Middelschulte2012-08-181-138/+26
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Minor formatting tweaks.Leif Middelschulte2012-08-181-17/+17
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove docs about 'wrap_call' typemap.Leif Middelschulte2012-08-181-6/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use actual generated code for 'would like' prologue.Leif Middelschulte2012-08-171-4/+11
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Unify beginning of command line codeLeif Middelschulte2012-08-171-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Change style of command line snippets to "shell"Leif Middelschulte2012-08-171-6/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Change style of C code to "targetlang"Leif Middelschulte2012-08-171-9/+9
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add docs about typemaps used by the C backend for proxy code generation.Leif Middelschulte2012-08-171-0/+45
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use "targetlang" style for C code in docs.Leif Middelschulte2012-08-171-10/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Reuse 'ctype' typemap to cast wrapper calls. Reduces number of typemaps for ↵Leif Middelschulte2012-08-172-49/+4
| | | | | | the cost of unnecessary casts (e.g. 'int' to 'int'). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add beginning of 'which typemap is for what' for C backend documentation.Leif Middelschulte2012-08-171-0/+153
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Correct some descriptions of the typemaps. Remove duplicatesLeif Middelschulte2012-08-171-33/+22
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove the std_vector test I've added while trying for testing purposesLeif Middelschulte2012-08-163-25/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Workaround issue with swig casting to wrong (not const) type in wrapper's ↵Leif Middelschulte2012-08-161-21/+21
| | | | | | C++ function call, by setting variables to non const. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove copy and pasta (unsigned float and unsigned double typemaps).Leif Middelschulte2012-08-161-34/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add explicit types for 'ctype' typemap because swig does not resolve e.g. ↵Leif Middelschulte2012-08-161-19/+142
| | | | | | std::vector<int>::value_type to 'int' with the $1_ltype approach. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix typemaps of char* and equivalents to be explicit about the resolved type.Leif Middelschulte2012-08-161-4/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'out' typemap.Leif Middelschulte2012-08-151-0/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'proxycouttype' typemapLeif Middelschulte2012-08-151-0/+56
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'cppouttype' typemapsLeif Middelschulte2012-08-151-0/+57
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add const pointers to 'couttype' typemapLeif Middelschulte2012-08-151-0/+57
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'in' typemapLeif Middelschulte2012-08-151-1/+9
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'ctype' typemapLeif Middelschulte2012-08-151-0/+7
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add constant pointers to 'proxy' typemapLeif Middelschulte2012-08-151-1/+60
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13611 626c5289-ae23-0410-ae9c-e8d60b6d4f22