Incoporate review suggestions
This commit is contained in:
parent
1329670640
commit
b38a6530e3
2 changed files with 3 additions and 3 deletions
|
|
@ -2456,8 +2456,8 @@ The result is the following expansion
|
|||
</div>
|
||||
|
||||
<p>
|
||||
The first argument, the typemap method, can look up the keyword argument of a
|
||||
typemap by appending a colon and the keyowrd. For example,
|
||||
The first argument, the typemap method, can look up the attribute of a
|
||||
typemap by appending a colon and the keyword. For example,
|
||||
<tt>$typemap(directorin:descriptor, $type)</tt> would be replaced by <tt>"D"</tt> if <tt>type</tt> is a <tt>double</tt>.
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -2105,7 +2105,7 @@ static void replace_embedded_typemap(String *s, ParmList *parm_sublist, Wrapper
|
|||
Printf(stdout, " Containing: %s\n", dtypemap);
|
||||
Delete(dtypemap);
|
||||
}
|
||||
found_colon = Strstr(tmap_method, ":");
|
||||
found_colon = Strchr(tmap_method, ':');
|
||||
if (found_colon) {
|
||||
String *temp_tmap_method = NewStringWithSize(Char(tmap_method), found_colon - Char(tmap_method));
|
||||
Swig_typemap_attach_parms(temp_tmap_method, to_match_parms, f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue