Drop code dealing with tmap:ctype:out which is never used
This typemap attribute is not used with C (so far), there is no point in checking for it in the code.
This commit is contained in:
parent
6e0e728a14
commit
11426ac1cd
1 changed files with 2 additions and 12 deletions
|
|
@ -747,18 +747,8 @@ ready:
|
|||
String *tm;
|
||||
|
||||
if ((tm = Swig_typemap_lookup("ctype", n, "", 0))) {
|
||||
// handle simple typemap cases
|
||||
String *ctypeout = Getattr(n, "tmap:ctype:out");
|
||||
if (ctypeout)
|
||||
{
|
||||
return_type = ctypeout;
|
||||
Printf(stdout, "Obscure ctype:out found! O.o\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
substituteResolvedType(target, type, tm);
|
||||
return_type = tm;
|
||||
}
|
||||
substituteResolvedType(target, type, tm);
|
||||
return_type = tm;
|
||||
}
|
||||
else {
|
||||
Swig_warning(WARN_C_TYPEMAP_CTYPE_UNDEF, input_file, line_number, "No ctype typemap defined for %s\n", SwigType_str(type, 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue