1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

pidl: do not generate cli_ functions for noopnum flaged functions.

Guenther
This commit is contained in:
Günther Deschner 2008-11-14 22:15:30 +01:00
parent 3c98d5bd98
commit cf06b75f0a

View File

@ -215,7 +215,10 @@ sub ParseInterface($$)
$self->pidl_hdr("#ifndef __CLI_$uif\__");
$self->pidl_hdr("#define __CLI_$uif\__");
$self->ParseFunction($if->{NAME}, $_) foreach (@{$if->{FUNCTIONS}});
foreach (@{$if->{FUNCTIONS}}) {
next if ($_->{PROPERTIES}{noopnum});
$self->ParseFunction($if->{NAME}, $_);
}
$self->pidl_hdr("#endif /* __CLI_$uif\__ */");
}