diff options
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r-- | source4/build/pidl/header.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm index 6e8842b1d7..53e495883d 100644 --- a/source4/build/pidl/header.pm +++ b/source4/build/pidl/header.pm @@ -59,13 +59,13 @@ sub HeaderElement($) $res .= "*"; } } - if (defined $element->{ARRAY_LEN} && - $element->{ARRAY_LEN} eq "*") { + if (defined $element->{ARRAY_LEN} && $element->{ARRAY_LEN} eq "*") { + # conformant arrays are ugly! I choose to implement them with + # pointers instead of the [1] method $res .= "*"; } $res .= "$element->{NAME}"; - if (defined $element->{ARRAY_LEN} && - $element->{ARRAY_LEN} ne "*") { + if (defined $element->{ARRAY_LEN} && $element->{ARRAY_LEN} ne "*") { $res .= "[$element->{ARRAY_LEN}]"; } $res .= ";\n"; |