From e2898c098fa090303ad0df67d5a9c454bac63e86 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 14 Dec 2003 08:44:38 +0000 Subject: fix _ptr_ declaration (This used to be commit 5fed4681edc93405a8b39080adfe72af8beea65d) --- source4/build/pidl/parser.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/build/pidl/parser.pm b/source4/build/pidl/parser.pm index d7f3814abd..67602c4262 100644 --- a/source4/build/pidl/parser.pm +++ b/source4/build/pidl/parser.pm @@ -770,8 +770,6 @@ sub ParseStructPull($) return; } - start_flags($struct); - # see if the structure contains a conformant array. If it # does, then it must be the last element of the structure, and # we need to pull the conformant length early, as it fits on @@ -792,6 +790,8 @@ sub ParseStructPull($) } } + start_flags($struct); + pidl "\tif (!(ndr_flags & NDR_SCALARS)) goto buffers;\n"; pidl "\tNDR_CHECK(ndr_pull_struct_start(ndr));\n"; -- cgit