add direct HashCheckAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
19ad973f3b
commit
72469f2d26
7 changed files with 136 additions and 77 deletions
|
|
@ -988,7 +988,7 @@ DohNewString(const DOH *so)
|
|||
char *s;
|
||||
if (DohCheck(so)) {
|
||||
str = (String *) ObjData(so);
|
||||
s = String_data(so);
|
||||
s = String_data((String *)so);
|
||||
l = s ? str->len : 0;
|
||||
} else {
|
||||
s = (char *) so;
|
||||
|
|
@ -1029,7 +1029,7 @@ DohNewStringWithSize(const DOH *so, int len)
|
|||
String *str;
|
||||
char *s;
|
||||
if (DohCheck(so)) {
|
||||
s = String_data(so);
|
||||
s = String_data((String *)so);
|
||||
}
|
||||
else {
|
||||
s = (char *) so;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue