From a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 10 Aug 2010 14:29:42 +0200 Subject: pidl:Samba3/ClientNDR: ignore "todo" functions metze --- pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pidl/lib') diff --git a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm index 17384241c9..cb6c1f252a 100644 --- a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm +++ b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm @@ -495,9 +495,10 @@ sub ParseInterface($$) $self->pidl_hdr("#ifndef __CLI_$uif\__"); $self->pidl_hdr("#define __CLI_$uif\__"); - foreach (@{$if->{FUNCTIONS}}) { - next if ($_->{PROPERTIES}{noopnum}); - $self->ParseFunction($if->{NAME}, $_); + foreach my $fn (@{$if->{FUNCTIONS}}) { + next if has_property($fn, "noopnum"); + next if has_property($fn, "todo"); + $self->ParseFunction($if->{NAME}, $fn); } $self->pidl_hdr("#endif /* __CLI_$uif\__ */"); } -- cgit