diff options
author | Tim Potter <tpot@samba.org> | 2005-01-17 06:21:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:56 -0500 |
commit | de7e4293ac13960a1f8857ad5297acaff11d0d5f (patch) | |
tree | 38ca9d5acebd87a88ec312b1d9580e10fff083b3 /source4/build | |
parent | 0b5e8c848b5b35a188dfe4b78fccf646d5cb187c (diff) | |
download | samba-de7e4293ac13960a1f8857ad5297acaff11d0d5f.tar.gz samba-de7e4293ac13960a1f8857ad5297acaff11d0d5f.tar.bz2 samba-de7e4293ac13960a1f8857ad5297acaff11d0d5f.zip |
r4797: Add the name of what we are pointing to when dissecting pointers.
(This used to be commit 6fc162738f86f8f7df013623e57a21970a8b6f36)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/pidl/eparser.pm | 6 |
1 files 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 |