summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-02 00:57:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:24 -0500
commitd3dd8a430792b0173d5a93f69dbe788dce127f81 (patch)
tree3dc8d61e00968d7452bdd099da85ff34da993cdc /source4/build/pidl
parent6dd757005ae1c7165948a8a78bc960792bb8c6aa (diff)
downloadsamba-d3dd8a430792b0173d5a93f69dbe788dce127f81.tar.gz
samba-d3dd8a430792b0173d5a93f69dbe788dce127f81.tar.bz2
samba-d3dd8a430792b0173d5a93f69dbe788dce127f81.zip
r7184: remove unused ndr_pull/push_struct_start/end() functions
metze (This used to be commit 95d3286a327467c32ee25fcac913fc5f3113a74b)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/ndr_parser.pm16
1 files changed, 2 insertions, 14 deletions
diff --git a/source4/build/pidl/ndr_parser.pm b/source4/build/pidl/ndr_parser.pm
index 3e3fe89e82..d09f43186a 100644
--- a/source4/build/pidl/ndr_parser.pm
+++ b/source4/build/pidl/ndr_parser.pm
@@ -1105,8 +1105,6 @@ sub ParseStructPush($$)
pidl "if (ndr_flags & NDR_SCALARS) {";
indent;
- pidl "NDR_CHECK(ndr_push_struct_start(ndr));";
-
pidl "NDR_CHECK(ndr_push_align(ndr, $struct->{ALIGN}));";
foreach my $e (@{$struct->{ELEMENTS}}) {
@@ -1122,8 +1120,6 @@ sub ParseStructPush($$)
ParseElementPush($e, "ndr", "r->", $env, 0, 1);
}
- pidl "ndr_push_struct_end(ndr);";
-
deindent;
pidl "}";
@@ -1405,8 +1401,6 @@ sub ParseStructPull($$)
pidl "if (ndr_flags & NDR_SCALARS) {";
indent;
- pidl "NDR_CHECK(ndr_pull_struct_start(ndr));";
-
if (defined $conform_e) {
ParseArrayPullPreceding($conform_e, $conform_e->{LEVELS}[0], "r->$conform_e->{NAME}");
}
@@ -1425,8 +1419,6 @@ sub ParseStructPull($$)
ParseElementPull($e, "ndr", "r->", $env, 0, 1);
}
- pidl "ndr_pull_struct_end(ndr);";
-
deindent;
pidl "}";
@@ -1517,8 +1509,6 @@ sub ParseUnionPush($$)
pidl "NDR_CHECK(ndr_push_$e->{SWITCH_TYPE}(ndr, NDR_SCALARS, level));";
}
- pidl "NDR_CHECK(ndr_push_struct_start(ndr));";
-
# my $align = union_alignment($e);
# pidl "NDR_CHECK(ndr_push_align(ndr, $align));";
@@ -1567,7 +1557,7 @@ sub ParseUnionPush($$)
}
deindent;
pidl "}";
- pidl "ndr_push_struct_end(ndr);";
+
deindent;
pidl "}";
end_flags($e);
@@ -1646,8 +1636,6 @@ sub ParseUnionPull($$)
pidl "}";
}
- pidl "NDR_CHECK(ndr_pull_struct_start(ndr));";
-
# my $align = union_alignment($e);
# pidl "\tNDR_CHECK(ndr_pull_align(ndr, $align));\n";
@@ -1697,7 +1685,7 @@ sub ParseUnionPull($$)
}
deindent;
pidl "}";
- pidl "ndr_pull_struct_end(ndr);";
+
deindent;
pidl "}";
end_flags($e);