SwigValueWrapper and SwigType * correction
Modifying the type by adding in SwigValueWrapper needs to follow the normal SwigType conventions for correct and proper type handling.
This commit is contained in:
parent
c0026d036a
commit
ea3f043920
1 changed files with 1 additions and 5 deletions
|
|
@ -1565,11 +1565,7 @@ SwigType *SwigType_alttype(const SwigType *t, int local_tmap) {
|
|||
}
|
||||
|
||||
if (use_wrapper) {
|
||||
/* Need a space before the type in case it starts "::" (since the <:
|
||||
* token is a digraph for [ in C++. Also need a space after the
|
||||
* type in case it ends with ">" since then we form the token ">>".
|
||||
*/
|
||||
w = NewStringf("SwigValueWrapper< %s >", td);
|
||||
w = NewStringf("SwigValueWrapper<(%s)>", td);
|
||||
}
|
||||
Delete(td);
|
||||
return w;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue