svn commit: samba r5241 - in branches/SAMBA_4_0/source/build/pidl: .
tpot at samba.org
tpot at samba.org
Sun Feb 6 00:18:47 GMT 2005
Author: tpot
Date: 2005-02-06 00:18:46 +0000 (Sun, 06 Feb 2005)
New Revision: 5241
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5241
Log:
Generate swig wrappers for unions as well as structures.
Modified:
branches/SAMBA_4_0/source/build/pidl/swig.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/swig.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/swig.pm 2005-02-05 23:10:31 UTC (rev 5240)
+++ branches/SAMBA_4_0/source/build/pidl/swig.pm 2005-02-06 00:18:46 UTC (rev 5241)
@@ -709,9 +709,9 @@
s/dom_sid2/dom_sid/g;
- # Copy structure definitions
+ # Copy structure and union definitions
- if (/^struct .*? {$/ .. /^\};$/) {
+ if (/^(struct|union) .*? {$/ .. /^\};$/) {
s/\} (in|out);/\} data_$1;/; # "in" is a Python keyword
pidl $_;
next;
More information about the samba-cvs
mailing list