Remove some useless code
This commit is contained in:
parent
cd2085aae7
commit
df2c9d366d
2 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,10 @@ Version 3.0.1 (in progress)
|
|||
===========================
|
||||
|
||||
2014-03-28: wsfulton
|
||||
[Java C# D Go] Fix for usage of snprintf in Lua runtime which Visual Studio does not have.
|
||||
[Java C# D Go] Fixes for C enums used in an API and the definition of the enum
|
||||
has not been parsed. For D, this fixes a segfault in SWIG. The other languages
|
||||
now produce code that compiles, although the definition of the enum is needed
|
||||
in order to use the enum properly from the target language.
|
||||
|
||||
2014-03-23: v-for-vandal
|
||||
[Lua] Fix for usage of snprintf in Lua runtime which Visual Studio does not have.
|
||||
|
|
|
|||
|
|
@ -4787,14 +4787,11 @@ private:
|
|||
ret = NewString("_Complex double ");
|
||||
} else if (is_interface) {
|
||||
SwigType *t = SwigType_typedef_resolve_all(type);
|
||||
SwigType_strip_qualifiers(t);
|
||||
if (SwigType_ispointer(t)) {
|
||||
SwigType_del_pointer(t);
|
||||
SwigType_strip_qualifiers(t);
|
||||
}
|
||||
if (SwigType_isreference(t)) {
|
||||
SwigType_del_reference(t);
|
||||
SwigType_strip_qualifiers(t);
|
||||
}
|
||||
SwigType_add_pointer(t);
|
||||
ret = SwigType_lstr(t, name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue