diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-12 19:55:49 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-15 17:40:19 +0200 |
commit | 54437f1e8a9274cb7afa3b850d709568414dff71 (patch) | |
tree | 9c5aa6af128b870fd602a9f882405d035ce45148 /source4/pidl/lib/Parse | |
parent | b91a7fa1661e03549c3526a408f053bd16e06afa (diff) | |
download | samba-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.pm | 7 |
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($_); } |