diff options
Diffstat (limited to 'pidl')
-rw-r--r-- | pidl/lib/Parse/Pidl/NDR.pm | 5 | ||||
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 3 |
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(""); |