summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-12 19:55:49 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 17:40:19 +0200
commit54437f1e8a9274cb7afa3b850d709568414dff71 (patch)
tree9c5aa6af128b870fd602a9f882405d035ce45148 /source4/pidl/lib/Parse
parentb91a7fa1661e03549c3526a408f053bd16e06afa (diff)
downloadsamba-54437f1e8a9274cb7afa3b850d709568414dff71.tar.gz
samba-54437f1e8a9274cb7afa3b850d709568414dff71.tar.bz2
samba-54437f1e8a9274cb7afa3b850d709568414dff71.zip
More improvements.
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/COM/Header.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/COM/Header.pm b/source4/pidl/lib/Parse/Pidl/Samba4/COM/Header.pm
index bc592e7f80..855798b70b 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/COM/Header.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/COM/Header.pm
@@ -133,6 +133,13 @@ sub Parse($$)
foreach (@{$idl})
{
if ($_->{TYPE} eq "INTERFACE" && has_property($_, "object")) {
+ $res .="struct $_->{NAME};\n";
+ }
+ }
+
+ foreach (@{$idl})
+ {
+ if ($_->{TYPE} eq "INTERFACE" && has_property($_, "object")) {
$res.=ParseInterface($_);
}