summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-30 12:40:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:53 -0500
commit7da0f7d76da1d779f324486df568fe884bcf6328 (patch)
tree7c29281b06cdc98a7bef5692a0f087e518ce8498 /source4/pidl/lib/Parse
parent9d3b3e83953a8a97cf830581bd7933a576312cad (diff)
downloadsamba-7da0f7d76da1d779f324486df568fe884bcf6328.tar.gz
samba-7da0f7d76da1d779f324486df568fe884bcf6328.tar.bz2
samba-7da0f7d76da1d779f324486df568fe884bcf6328.zip
r11972: handle [noejs] property also on functions
metze (This used to be commit e5fef8519b28f66ce8a401fc866c8b9bf08c584d)
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba/EJS.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba/EJS.pm b/source4/pidl/lib/Parse/Pidl/Samba/EJS.pm
index 2cac7d81af..1e73696cc1 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba/EJS.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba/EJS.pm
@@ -713,7 +713,8 @@ sub EjsInterface($$)
foreach my $d (@{$interface->{FUNCTIONS}}) {
next if not defined($d->{OPNUM});
-
+ next if Parse::Pidl::Util::has_property($d, "noejs");
+
EjsPullFunction($d);
EjsPushFunction($d);
EjsFunction($d, $name);