diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/swig.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm index 5cffff288b..34a1edd268 100644 --- a/source4/build/pidl/swig.pm +++ b/source4/build/pidl/swig.pm @@ -91,7 +91,7 @@ sub FieldFromPython($$) # Special cases - if ($e->{TYPE} eq "string" && $e->{POINTERS} == 1) { + if ($e->{TYPE} eq "string") { $result .= "\ts->$prefix$e->{NAME} = string_ptr_from_python(mem_ctx, $obj, \"$e->{NAME}\");\n"; return $result; } @@ -187,7 +187,7 @@ sub FieldToPython($$) # Special cases - if ($e->{TYPE} eq "string" && $e->{POINTERS} == 1) { + if ($e->{TYPE} eq "string") { $result .= "\tPyDict_SetItemString(obj, \"$e->{NAME}\", string_ptr_to_python(mem_ctx, s->$prefix$e->{NAME}));\n"; return $result; } |