diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-08-10 14:29:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-08-12 14:31:16 +0200 |
commit | a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7 (patch) | |
tree | 2fd6ce0f969169f5e8794a08b69a4376bddfe251 /pidl/lib/Parse/Pidl/Samba3 | |
parent | 6fe216642a1003a2fda2b8332199ff84c8712984 (diff) | |
download | samba-a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7.tar.gz samba-a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7.tar.bz2 samba-a2e1f54b3eac810e147ee5e608c6bdee03f5a8a7.zip |
pidl:Samba3/ClientNDR: ignore "todo" functions
metze
Diffstat (limited to 'pidl/lib/Parse/Pidl/Samba3')
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm | 7 |
1 files changed, 4 insertions, 3 deletions
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\__ */"); } |