summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-04 06:52:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:13 -0500
commita0b29302c81bb68a9d083fb10f9d044891ed81a8 (patch)
treeb792f5c76a5965d979ba70bd7ce0f01de49327aa /source4/build/pidl
parentba205b314390474ecf263a9b6094330d6bc37a80 (diff)
downloadsamba-a0b29302c81bb68a9d083fb10f9d044891ed81a8.tar.gz
samba-a0b29302c81bb68a9d083fb10f9d044891ed81a8.tar.bz2
samba-a0b29302c81bb68a9d083fb10f9d044891ed81a8.zip
r9055: fix header generation for string_array and some other scalar types
the are actualy mapped to pointers in the api metze (This used to be commit d91e61ac680dfd2a9b257dc7e8cc8c393a65dae4)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/Parse/Pidl/Samba/Header.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Samba/Header.pm b/source4/build/pidl/Parse/Pidl/Samba/Header.pm
index 21b239b7b1..928b35d4ca 100644
--- a/source4/build/pidl/Parse/Pidl/Samba/Header.pm
+++ b/source4/build/pidl/Parse/Pidl/Samba/Header.pm
@@ -62,7 +62,7 @@ sub HeaderElement($)
next if is_constant($_);
$numstar++;
}
- $numstar-- if ($element->{TYPE} eq "string");
+ $numstar-- if Parse::Pidl::Typelist::scalar_is_reference($element->{TYPE});
pidl "*" foreach (1..$numstar);
pidl $element->{NAME};
foreach (@{$element->{ARRAY_LEN}}) {