summaryrefslogtreecommitdiff
path: root/source4/build/pidl/ndr_header.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-17 12:45:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:05 -0500
commit85943483fbcbe5e8a4cfb93eb65ac50f73eff28c (patch)
treefed2918c0889506663ef4ef0472fdfe59c801456 /source4/build/pidl/ndr_header.pm
parent795f59375721ac46b3d50297c782b0077b721870 (diff)
downloadsamba-85943483fbcbe5e8a4cfb93eb65ac50f73eff28c.tar.gz
samba-85943483fbcbe5e8a4cfb93eb65ac50f73eff28c.tar.bz2
samba-85943483fbcbe5e8a4cfb93eb65ac50f73eff28c.zip
r5853: Move some of the functions not specific to the Samba NDR parser generator
to a new ndr.pm. Add function that can generate a "OrderTable" describing the order in which the NDR data will be pushed/pulled. (This used to be commit 2603a7326d7e54a012a95e37fd54433b85d8acc4)
Diffstat (limited to 'source4/build/pidl/ndr_header.pm')
-rw-r--r--source4/build/pidl/ndr_header.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/ndr_header.pm b/source4/build/pidl/ndr_header.pm
index 3e673466e0..ddd4fa1eb3 100644
--- a/source4/build/pidl/ndr_header.pm
+++ b/source4/build/pidl/ndr_header.pm
@@ -64,7 +64,7 @@ sub HeaderElement($)
for (my($i)=$element->{POINTERS}; $i > 0; $i--) {
pidl "*";
}
- } elsif (NdrParser::is_surrounding_array($element) ||
+ } elsif (Ndr::is_surrounding_array($element) ||
defined $element->{ARRAY_LEN} && !util::is_constant($element->{ARRAY_LEN})) {
# surrounding arrays are ugly! I choose to implement them with
# pointers instead of the [1] method