Support OnClientCapLs in modpython #98

This commit is contained in:
Alexey Sokolov
2012-07-28 01:37:58 +07:00
parent 592b5d158d
commit 219e6a97ce
4 changed files with 5 additions and 1 deletions

View File

@@ -261,7 +261,7 @@ while (<$in>) {
when (/vector\s*<\s*.*\*\s*>/) {
say $out "PyList_New(0);";
}
when (/CString/) {
when (/(?:^|\s)CString/) { # not SCString
if ($a->{base} eq 'CString' && $a->{mod} eq '&') {
say $out "CPyRetString::wrap($a->{var});";
} else {