summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r--source4/build/pidl/util.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm
index c3f46dc817..566253699d 100644
--- a/source4/build/pidl/util.pm
+++ b/source4/build/pidl/util.pm
@@ -223,7 +223,7 @@ sub is_builtin_type($)
return 1, if (is_scalar_type($type));
return 1, if ($type =~ "unistr.*");
- return 1, if ($type eq "policy_handle");
+ return 1, if ($type =~ "ascstr.*");
return 0;
}
@@ -329,6 +329,7 @@ sub c_pull_prefix($)
if ($e->{TYPE} =~ "unistr.*" ||
$e->{TYPE} =~ "nstring.*" ||
+ $e->{TYPE} =~ "ascstr.*" ||
$e->{TYPE} =~ "lstring.*") {
return "&";
}