summaryrefslogtreecommitdiff
path: root/source4/build/pidl/swig.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/swig.pm')
-rw-r--r--source4/build/pidl/swig.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm
index 55ded24f21..ad21880ad0 100644
--- a/source4/build/pidl/swig.pm
+++ b/source4/build/pidl/swig.pm
@@ -586,7 +586,7 @@ sub ParseUnion($)
$result .= "}\n\n";
- if (util::has_property($u->{DATA}, "public")) {
+ if (util::has_property($u, "public")) {
# Generate function to unmarshall an array of structures.
# Used exclusively (?) in the spoolss pipe.
@@ -613,7 +613,7 @@ sub ParseUnion($)
$result .= "%}\n\n";
- if (util::has_property($u->{DATA}, "public")) {
+ if (util::has_property($u, "public")) {
$result .= "%typemap(in, numinputs=0) union $u->{NAME} **EMPTY (union $u->{NAME} *temp_$u->{NAME}) {\n";
$result .= "\t\$1 = &temp_$u->{NAME};\n";