fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7284595912
commit
2a3e528169
7 changed files with 586 additions and 319 deletions
|
|
@ -58,7 +58,8 @@ static DOH *encode(char *name, DOH *s) {
|
|||
char *cfmt = strstr(name,":");
|
||||
DOH *tmp = 0;
|
||||
if (cfmt) {
|
||||
tmp = NewStringf(cfmt + 1, s);
|
||||
tmp = NewString(cfmt + 1);
|
||||
Append(tmp,s);
|
||||
Setfile(tmp,Getfile((DOH *)s));
|
||||
Setline(tmp,Getline((DOH *)s));
|
||||
*cfmt = '\0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue