Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
These were useless as they just produced a setter that gave a runtime error. Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
06267e8a55
commit
a951a86659
5 changed files with 2 additions and 17 deletions
|
|
@ -386,7 +386,7 @@
|
|||
$1 = *(($&1_type) temp);
|
||||
}
|
||||
|
||||
%typemap(varin) SWIGTYPE [] {
|
||||
%typemap(varin) SWIGTYPE [ANY] {
|
||||
void *temp;
|
||||
if (SWIG_ConvertPtr(interp,$input,&temp,$1_descriptor, SWIG_POINTER_EXCEPTION) != TCL_OK) {
|
||||
return (char *)"Type error. Expected $1_ltype";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue