From a0b29302c81bb68a9d083fb10f9d044891ed81a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 4 Aug 2005 06:52:58 +0000 Subject: 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) --- source4/build/pidl/Parse/Pidl/Samba/Header.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/build/pidl/Parse/Pidl/Samba') 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}}) { -- cgit