| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This corrects for compilers that need stdio.h
|
|
|
|
|
|
|
| |
Most R header files can be included within C++ programs but they should
not be included within an extern "C" block (as they include system headers).
This patch moves the Rdefines.h and Rversion.h outside the extern block.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The vector of pointers (just fixed) were not working correctly because the
descriptors returned from swig::type_info() were sometimes returning
zero. Zero should only be used for void * as the subsequent call to
SWIG_ConvertPtr will blindly cast the pointer without checking
descriptor.
std::vector<void *> does not work and will require further changes:
specializing traits_info<void *> to return 0 and traits_asptr<void *>.
I tried this and traits_asptr<void> also needs to be added in which
seems odd and requires further investigation...
Lib/python/pystdcommon.swg:
template <> struct traits_info<void *> {
static swig_type_info *type_info() {
static swig_type_info *info = 0;
}
};
Lib/std/std_common.i:
template <>
struct traits_asptr<void *> {
static int asptr(PyObject *obj, void ***val) {
void **p;
swig_type_info *descriptor = 0;
int res = SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0);
if (SWIG_IsOK(res)) {
if (val) *val = p;
}
return res;
}
};
// this is needed, but am not sure this is expected
template <>
struct traits_asptr<void> {
static int asptr(PyObject *obj, void **val) {
void **p;
swig_type_info *descriptor = 0;
int res = SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0);
if (SWIG_IsOK(res)) {
if (val) *val = p;
}
return res;
}
};
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Suppress unmessage at package load
|
| |
| |
| |
| | |
‘print’ from package ‘base’ in package <some package>
|
|/
|
|
|
|
|
|
| |
This change allows R to automatically convert std::vectors of
signed and unsigned 8, 16, 32 and 64 bit integer types.
rtype, rtypecheck, scoercein and scoerceout typemaps are copied
across integer types.
|
|
|
|
|
| |
Adds preprocessor checks to avoid defining functions that use long long if it isn't available
Effects the following languages: javascript, octave, perl, python, r, ruby, tcl
|
|
|
|
|
| |
For example std::vector<::X::Y> was sometimes generated, now
corrected to std::vector< ::X::Y >.
|
|
|
|
|
| |
$argnum was not being expanded in the generated code
Correct to use the error message from the standard typemaps
|
| |
|
|
|
|
| |
Fixes director_keywords test case.
|
|
|
|
| |
Closes #430
|
|
|
|
|
|
|
| |
Fixes unknown preprocessor directive error introduced in #217
commit 255c929c5636f54c16261bd92b8eea2005d61b11
These were probably intended as script comments using # when C/C++
comments using // or /* */ should have been used.
|
|
|
|
|
|
| |
within extern "C" block.
Fixes SF #1340
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Examples/Makefile.in
Examples/guile/Makefile.in
Lib/php/php.swg
Makefile.in
Source/CParse/parser.y
configure.ac
|
| |
| |
| |
| | |
Fixes 'attempt to free a non-heap object' in some OUTPUT typemaps.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
parser.y still to be fixed up
Conflicts:
Doc/Devel/engineering.html
Examples/Makefile.in
Lib/allegrocl/allegrocl.swg
Lib/csharp/csharp.swg
Lib/csharp/enums.swg
Lib/csharp/enumsimple.swg
Lib/csharp/enumtypesafe.swg
Lib/java/java.swg
Lib/python/pydocs.swg
Lib/r/rtype.swg
Source/Include/swigwarn.h
Source/Modules/octave.cxx
Source/Modules/python.cxx
Source/Modules/ruby.cxx
Source/Swig/scanner.c
Source/Swig/stype.c
Source/Swig/swig.h
configure.ac
|
| | |
|
| | |
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| |
| |
| | |
through std::vector wrappers of enumerations for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| |
| |
| |
| | |
from std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| |
| |
| | |
failures witht g++-4.6.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| |
| |
| |
| | |
add noreturn exception handler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
| |
| |
| |
| | |
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
|/ |
|
|
|
|
|
|
|
|
|
| |
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
|