Use normal SWIG encodings for ref-qualifiers
This commit is contained in:
parent
9e19fe7868
commit
685ee6cdc4
2 changed files with 10 additions and 5 deletions
|
|
@ -1697,8 +1697,11 @@ String *Swig_name_decl(Node *n) {
|
|||
decl = NewStringf("%s", qname);
|
||||
else
|
||||
decl = NewStringf("%s(%s)%s", qname, ParmList_errorstr(Getattr(n, "parms")), SwigType_isconst(Getattr(n, "decl")) ? " const" : "");
|
||||
if (refqualifier)
|
||||
Printv(decl, " ", refqualifier, NIL);
|
||||
if (refqualifier) {
|
||||
String *rq = SwigType_str(refqualifier, 0);
|
||||
Printv(decl, " ", rq, NIL);
|
||||
Delete(rq);
|
||||
}
|
||||
|
||||
Delete(qname);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue