diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-17 06:25:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-17 06:25:51 +0000 |
commit | fa83432e1085d32f1a3f4208b81b6e936ba63b38 (patch) | |
tree | ddea06f174b4227fa6ed63b304094362a7c55106 /source4/build/pidl/util.pm | |
parent | d1feb4c6d56b37d045a329fab98857fb36bd42c1 (diff) | |
download | samba-fa83432e1085d32f1a3f4208b81b6e936ba63b38.tar.gz samba-fa83432e1085d32f1a3f4208b81b6e936ba63b38.tar.bz2 samba-fa83432e1085d32f1a3f4208b81b6e936ba63b38.zip |
* support inline arrays
* add enough to allow security descriptors to be IDL described
* added "noprint" property to allow fancy printing for specific
functions
(This used to be commit 08df20c8bed57bbb9a9a907c807ad850382fd4e8)
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r-- | source4/build/pidl/util.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm index 949946d328..fcc6c54216 100644 --- a/source4/build/pidl/util.pm +++ b/source4/build/pidl/util.pm @@ -221,9 +221,6 @@ sub is_builtin_type($) return 1, if (is_scalar_type($type)); return 1, if ($type =~ "unistr.*"); - return 1, if ($type eq "security_descriptor"); - return 1, if ($type eq "dom_sid"); - return 1, if ($type eq "dom_sid2"); return 1, if ($type eq "policy_handle"); return 0; @@ -374,7 +371,8 @@ sub is_inline_array($) { my $e = shift; my $len = $e->{"ARRAY_LEN"}; - if (defined $len && $len ne "*") { + if (is_fixed_array($e) || + defined $len && $len ne "*") { return 1; } return 0; |