summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-21 00:41:29 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-28 23:06:45 +0200
commit96666d48a75573c47739e4d217b2aacea7841570 (patch)
treef413e10a1a75ee0b91a4c49e13a5bf3db8b32a2a /pidl/lib/Parse/Pidl
parenta73a2abb3a2ec79016ddcf5f0994025dd705975d (diff)
downloadsamba-96666d48a75573c47739e4d217b2aacea7841570.tar.gz
samba-96666d48a75573c47739e4d217b2aacea7841570.tar.bz2
samba-96666d48a75573c47739e4d217b2aacea7841570.zip
pidl: remove unused async property handling
metze
Diffstat (limited to 'pidl/lib/Parse/Pidl')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm5
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm3
2 files changed, 1 insertions, 7 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index 197a92998c..d7a129ea85 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -660,14 +660,10 @@ sub ParseFunction($$$)
$rettype = expandAlias($d->{RETURN_TYPE});
}
- my $async = 0;
- if (has_property($d, "async")) { $async = 1; }
-
return {
NAME => $d->{NAME},
TYPE => "FUNCTION",
OPNUM => $thisopnum,
- ASYNC => $async,
RETURN_TYPE => $rettype,
PROPERTIES => $d->{PROPERTIES},
ELEMENTS => \@elements,
@@ -901,7 +897,6 @@ my %property_list = (
"noopnum" => ["FUNCTION"],
"in" => ["ELEMENT"],
"out" => ["ELEMENT"],
- "async" => ["FUNCTION"],
# pointer
"ref" => ["ELEMENT"],
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 02f7c9a49b..7f958ab71c 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2336,7 +2336,6 @@ sub FunctionCallEntry($$)
$self->pidl("\t\t(ndr_push_flags_fn_t) ndr_push_$d->{NAME},");
$self->pidl("\t\t(ndr_pull_flags_fn_t) ndr_pull_$d->{NAME},");
$self->pidl("\t\t(ndr_print_function_t) ndr_print_$d->{NAME},");
- $self->pidl("\t\t".($d->{ASYNC}?"true":"false").",");
$self->pidl("\t},");
return 1;
}
@@ -2357,7 +2356,7 @@ sub FunctionTable($$)
foreach my $d (@{$interface->{INHERITED_FUNCTIONS}},@{$interface->{FUNCTIONS}}) {
$count += $self->FunctionCallEntry($d);
}
- $self->pidl("\t{ NULL, 0, NULL, NULL, NULL, false }");
+ $self->pidl("\t{ NULL, 0, NULL, NULL, NULL }");
$self->pidl("};");
$self->pidl("");