Joseph Wang
3d5d3a5bdb
change call for R to use mkCharLen where it exists (R versions >=
...
2.7.0). This is necessary because later versions of R (>= 2.8.0)
depreciate creation of strings through vectors because this does not
allow R to use character caches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-09 15:39:31 +00:00
William S Fulton
f76fcb4eb4
Memory leak fix handling const std::string & inputs, reported by Will Nolan.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-05 05:01:22 +00:00
William S Fulton
2535297efb
minor formatting change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-23 06:44:47 +00:00
William S Fulton
bdb136d611
Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-01 18:26:37 +00:00
Joseph Wang
b279cd3dde
add std_map
...
fix compact mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-10 02:32:29 +00:00
Joseph Wang
e351dfceaf
first pass at making fcompact work with R
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-04 03:48:17 +00:00
Joseph Wang
809bbb89e3
put in integer fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 08:57:16 +00:00
Joseph Wang
4b5c817793
Fix integer handling in r. unsigned values where getting handled
...
incorrected as reals leading to crashes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 00:08:37 +00:00
William S Fulton
6d564eb55d
remove duplicate SWIGR macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 10:46:41 +00:00
Joseph Wang
67e2785cb7
change as(...,"integer") to as.integer to force conversion into integers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 22:25:55 +00:00
William S Fulton
93f0390322
UTL - Fix some incorrect acceptance of types in the STL, eg a double * element passed into a vector<int *> constructor would be accepted, but the ensuing behaviour was undefined. Now the type conversion correctly raises an exception
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:35:46 +00:00
Joseph Wang
553135885c
change Rf_warning to warning. Looks like a typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-31 16:07:43 +00:00
William S Fulton
1d85e46697
add complete list of R reserved words
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 21:15:48 +00:00
William S Fulton
9c323f4a70
Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
Joseph Wang
43a6695de0
Fix problem that was causing breakage in pre-2.7 R
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 02:26:01 +00:00
Joseph Wang
ebf910f755
remove numerical conversion in corecions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-08 02:39:52 +00:00
Joseph Wang
5993327dc0
remove numeric coercion which seems to be unnecessary
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 19:40:07 +00:00
Joseph Wang
25f30ff1b1
Add R 2.7 calls
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 07:12:26 +00:00
Joseph Wang
fd6be0ba40
Put in ifdef for 2.7
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:33:08 +00:00
Joseph Wang
7b37f04c7a
change CHAR method since mkCharEnc doesn't do what I thought it did in 2.6
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 05:50:13 +00:00
Joseph Wang
9dde51fcf3
Set S4 flag which should fix the problem in R 2.6 that some S4 methods
...
are not working.
Remove 2.6 warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-12 06:16:20 +00:00
William S Fulton
a91e4906b5
Add newmemory parameter for SWIG_TypeCast
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 00:35:11 +00:00
William S Fulton
22126ca549
Fix off by 1 memory allocation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:30:01 +00:00
William S Fulton
06e014fdbe
Fix C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:47:44 +00:00
William S Fulton
68f9f87e8d
Fix C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:47:11 +00:00
William S Fulton
7b82429333
Use STRICT_R_HEADERS to remove macro conflicts with windows header files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:46:16 +00:00
William S Fulton
0362693bd2
Go back to extern C around R headers as per recommendation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:21:11 +00:00
William S Fulton
9bc992c0e4
Replace strdup - it is not portable. VC++ warning fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:14:51 +00:00
William S Fulton
39ff2511cb
replace strdup - it is not portable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:14:22 +00:00
William S Fulton
a80c41bef5
Dont use the global namespace polluting methods in the R headers - provides Visual C++ support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:26:58 +00:00
William S Fulton
6e88a9778f
Fix C code compilation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:12:01 +00:00
Joseph Wang
3b9574953c
Fix so that it works for 2.6 and 2.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 18:21:44 +00:00
Joseph Wang
53c972ddf1
Revert back for R 2.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:20:01 +00:00
Joseph Wang
54f0b11ddf
Add "freearg" template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 11:30:11 +00:00
Joseph Wang
7037fecf7e
Some more fixes to deal with constness of char
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 05:00:17 +00:00
Joseph Wang
410da5ce73
Tweaks to fix errors in r module code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 04:06:22 +00:00
Joseph Wang
0d9d964b5a
rename non-classes operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:48 +00:00
Joseph Wang
ef80a4f59a
Committing R-SWIG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00