From de7e4293ac13960a1f8857ad5297acaff11d0d5f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 17 Jan 2005 06:21:40 +0000 Subject: r4797: Add the name of what we are pointing to when dissecting pointers. (This used to be commit 6fc162738f86f8f7df013623e57a21970a8b6f36) --- source4/build/pidl/eparser.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/build/pidl/eparser.pm b/source4/build/pidl/eparser.pm index 58a545cc6f..b97857552f 100644 --- a/source4/build/pidl/eparser.pm +++ b/source4/build/pidl/eparser.pm @@ -511,10 +511,10 @@ sub RewriteC($$$) # of adding a couple of parameters to each function call. # - # Add proto tree and hf argument to ndr_pull_ptr() calls. + # Add proto tree and name argument to ndr_pull_ptr() calls. - s/(ndr_pull_ptr\(ndr,\ ([^\)]*?)\);) - /ndr_pull_ptr(ndr, tree, hf_ptr, $2);/smgx; + s/(ndr_pull_ptr\(ndr,\ (&_ptr_([^\)]*?))\);) + /ndr_pull_ptr(ndr, tree, "$3", $2);/smgx; # Wrap ndr_pull_array_size() and ndr_pull_array_length() # functions. Add leading space in front of first parameter so -- cgit