Leif Middelschulte
|
89725492f2
|
Revert lines, which weren't meant to get in.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-19 20:00:28 +00:00 |
|
Leif Middelschulte
|
87644d282b
|
Remove line that is already covered by macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-19 20:00:14 +00:00 |
|
Leif Middelschulte
|
4c1b189d72
|
Remove void 'cppouttype' typemap. Doesn't make sense.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-19 13:50:44 +00:00 |
|
Leif Middelschulte
|
a94ef7b1be
|
Remove void arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-19 13:50:32 +00:00 |
|
Leif Middelschulte
|
adb9b16167
|
Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-19 13:50:20 +00:00 |
|
Leif Middelschulte
|
dc9b3c01ff
|
Removed leftovers from macrofication.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:58:44 +00:00 |
|
Leif Middelschulte
|
6b0403c33c
|
Fix missing macro argument usage due to copy&pasta
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:58:33 +00:00 |
|
Leif Middelschulte
|
032c12b70e
|
move signed char to the group of types for which no unsigned exist
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:58:22 +00:00 |
|
Leif Middelschulte
|
04efe5fe66
|
Remove old (and commented out) region about template typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:31:35 +00:00 |
|
Leif Middelschulte
|
e3f351bf4b
|
Macrofy more typemaps. Does not work yet, because SWIG's preprocessor seems 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
|
2012-08-18 23:30:19 +00:00 |
|
Leif Middelschulte
|
3ca35323f6
|
Macrofy 'ctype' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:30:09 +00:00 |
|
Leif Middelschulte
|
2e0a4c7f85
|
Macrofy 'proxy' typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 23:29:53 +00:00 |
|
Leif Middelschulte
|
d6e0954620
|
Minor formatting tweaks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 13:42:39 +00:00 |
|
Leif Middelschulte
|
200a678f61
|
Remove docs about 'wrap_call' typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-18 13:42:28 +00:00 |
|
Leif Middelschulte
|
7330e2bbf7
|
Use actual generated code for 'would like' prologue.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:23:10 +00:00 |
|
Leif Middelschulte
|
abe23f2ca0
|
Unify beginning of command line code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:22:59 +00:00 |
|
Leif Middelschulte
|
dc9f0e5076
|
Change style of command line snippets to "shell"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:22:48 +00:00 |
|
Leif Middelschulte
|
0db6a8c201
|
Change style of C code to "targetlang"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:22:38 +00:00 |
|
Leif Middelschulte
|
beb9851f04
|
Add docs about typemaps used by the C backend for proxy code generation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:22:28 +00:00 |
|
Leif Middelschulte
|
370a7926d8
|
Use "targetlang" style for C code in docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:22:17 +00:00 |
|
Leif Middelschulte
|
b25f28938b
|
Reuse 'ctype' typemap to cast wrapper calls. Reduces number of typemaps for 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
|
2012-08-17 17:22:06 +00:00 |
|
Leif Middelschulte
|
a826cdda4e
|
Add beginning of 'which typemap is for what' for C backend documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 17:21:51 +00:00 |
|
Leif Middelschulte
|
1c38df4ceb
|
Correct some descriptions of the typemaps. Remove duplicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-17 12:15:08 +00:00 |
|
Leif Middelschulte
|
4da42db22e
|
Remove the std_vector test I've added while trying for testing purposes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-16 12:52:29 +00:00 |
|
Leif Middelschulte
|
3b6e37bdf8
|
Workaround issue with swig casting to wrong (not const) type in wrapper's 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
|
2012-08-16 12:48:00 +00:00 |
|
Leif Middelschulte
|
554a3f9e01
|
Remove copy and pasta (unsigned float and unsigned double typemaps).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-16 12:47:49 +00:00 |
|
Leif Middelschulte
|
f013b9d044
|
Add explicit types for 'ctype' typemap because swig does not resolve e.g. 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
|
2012-08-16 12:47:39 +00:00 |
|
Leif Middelschulte
|
9cd39cca50
|
Fix typemaps of char* and equivalents to be explicit about the resolved type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-16 12:47:27 +00:00 |
|
Leif Middelschulte
|
0d472a6cb7
|
Add constant pointers to 'out' typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:57:11 +00:00 |
|
Leif Middelschulte
|
7e673e7334
|
Add constant pointers to 'proxycouttype' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:56:53 +00:00 |
|
Leif Middelschulte
|
2d18d31bcc
|
Add constant pointers to 'cppouttype' typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:56:33 +00:00 |
|
Leif Middelschulte
|
971e501546
|
add const pointers to 'couttype' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:56:19 +00:00 |
|
Leif Middelschulte
|
b70b752883
|
Add constant pointers to 'in' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:56:03 +00:00 |
|
Leif Middelschulte
|
41b3fcc1b6
|
Add constant pointers to 'ctype' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:55:49 +00:00 |
|
Leif Middelschulte
|
1440b43690
|
Add constant pointers to 'proxy' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:55:36 +00:00 |
|
Leif Middelschulte
|
a540f7199f
|
Refactor 'cppouttype' to be split by type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:55:22 +00:00 |
|
Leif Middelschulte
|
dddc13377a
|
Move to appropriate segment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-15 19:55:06 +00:00 |
|
Leif Middelschulte
|
88ffd102f3
|
Remove template specific typemaps. Leftover from the change to C# like template handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-13 16:22:30 +00:00 |
|
Leif Middelschulte
|
f50b903d64
|
Add wrapper typemap for "int *const &"
Fix proxy type of complex type (SWIGTYPE) references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-13 16:22:02 +00:00 |
|
Leif Middelschulte
|
0dbfbb79ac
|
use correct typemap for wrapper function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-13 16:21:36 +00:00 |
|
Leif Middelschulte
|
ed402ceb37
|
Don't delete variables twice.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-10 15:43:11 +00:00 |
|
Leif Middelschulte
|
78ccc8f228
|
Fix wrong headers inclusion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-10 14:50:18 +00:00 |
|
Leif Middelschulte
|
c81a3bd5ec
|
Add typecast to silence compiler warnings caused by inheritance.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-10 14:50:04 +00:00 |
|
Leif Middelschulte
|
8538e6c1db
|
Fix wrong type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-10 14:49:49 +00:00 |
|
Leif Middelschulte
|
a84787c273
|
Rename reference to C++ native types from 'atomic' to 'built_in'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-10 14:49:37 +00:00 |
|
Leif Middelschulte
|
56db1d6e4e
|
Add C backend runtime implementation for basic C++ std::vector<int> test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-09 20:03:42 +00:00 |
|
Leif Middelschulte
|
c3236edf80
|
Add basic C++ test for std::vector instantiated with a native type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-09 20:03:22 +00:00 |
|
Leif Middelschulte
|
9619d7c618
|
Remove wrong typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-09 20:03:06 +00:00 |
|
Leif Middelschulte
|
333a842277
|
Type lookup of $1_ltype fails for templates, so use types directly. Add size_t as type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-09 20:02:47 +00:00 |
|
Leif Middelschulte
|
d272709899
|
Add C runtime test for corresponding C++ basic template test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-08-09 13:06:22 +00:00 |
|