Author: tpot
Date: 2004-09-04 01:50:11 +0000 (Sat, 04 Sep 2004)
New Revision: 2222

WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/build/pidl&rev=2222&nolog=1

Log:
Generate correct function prototypes for unions marked as public.
Modified:
   branches/SAMBA_4_0/source/build/pidl/eparser.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/eparser.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/eparser.pm     2004-09-04 01:31:02 UTC (rev 
2221)
+++ branches/SAMBA_4_0/source/build/pidl/eparser.pm     2004-09-04 01:50:11 UTC (rev 
2222)
@@ -978,7 +978,7 @@
                        }
 
                        if ($d->{DATA}{TYPE} eq "UNION") {
-                           pidl "void ndr_pull_$d->{NAME}(struct ndr_pull *ndr, int 
ndr_flags, proto_tree *tree, struct $d->{NAME} *r, uint16 level);\n\n";
+                           pidl "void ndr_pull_$d->{NAME}(struct ndr_pull *ndr, int 
ndr_flags, proto_tree *tree, union $d->{NAME} *r, uint16 level);\n\n";
                        }
                    }
                }

Reply via email to