Revert "Fix handling of array whose size contains <<"
This reverts commit 2227dc9e53.
This commit is contained in:
parent
0ff9a0959a
commit
6e931b0399
3 changed files with 1 additions and 9 deletions
|
|
@ -7,10 +7,6 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
||||||
Version 4.1.0 (in progress)
|
Version 4.1.0 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
2022-07-27: olly
|
|
||||||
https://sourceforge.net/p/swig/bugs/983/
|
|
||||||
Fix handling of array whose size contains a left shift operator (<<).
|
|
||||||
|
|
||||||
2022-07-27: ZackerySpytz, olly
|
2022-07-27: ZackerySpytz, olly
|
||||||
#1678 Support parsing C++20 templated lambdas.
|
#1678 Support parsing C++20 templated lambdas.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,4 @@ typedef struct {
|
||||||
cartPosition_t p;
|
cartPosition_t p;
|
||||||
} CartPoseData_t;
|
} CartPoseData_t;
|
||||||
|
|
||||||
/* Test left shift in array size doesn't trigger "Bad template type" error.
|
|
||||||
* Regression test for https://sourceforge.net/p/swig/bugs/983/ */
|
|
||||||
int array_shifted_size[(1<<2)];
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ require "tests.php";
|
||||||
|
|
||||||
check::functions(array('fn_taking_arrays','newintpointer','setintfrompointer','getintfrompointer','array_pointer_func'));
|
check::functions(array('fn_taking_arrays','newintpointer','setintfrompointer','getintfrompointer','array_pointer_func'));
|
||||||
check::classes(array('arrays','SimpleStruct','ArrayStruct','CartPoseData_t'));
|
check::classes(array('arrays','SimpleStruct','ArrayStruct','CartPoseData_t'));
|
||||||
check::globals(array('array_shifted_size'));
|
check::globals(array());
|
||||||
|
|
||||||
$ss=new simplestruct();
|
$ss=new simplestruct();
|
||||||
check::classname('simplestruct',$ss);
|
check::classname('simplestruct',$ss);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue