CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element
authorStefan Metzmacher <metze@samba.org>
Thu, 31 Jan 2008 13:57:35 +0000 (14:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Feb 2008 21:18:54 +0000 (22:18 +0100)
commit13afc89a87716063180723f0e9cb4f76daca837e
treec45a7b52f107c7da3cadea9d96f0eef802890dfb
parent29c104944bcad30c6a2a3fa70d527bf0ee8969de
CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element

When we have "*r->out.ous"
(char ***ous, a pointer to a pointer to an array).
we need to use "(*r->out.ous)[3]" to access the 3rd
element of the array "*r->out.ous[3]" was generated before,
but that's the same as "*(r->out.ous[3])".

metze
source/pidl/lib/Parse/Pidl/CUtil.pm
source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm