summaryrefslogtreecommitdiff
path: root/source4/build/pidl/swig.pm
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-14 05:59:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:52 -0500
commit9fb065f2a6798233525042c00beee23a8130864a (patch)
treebb4c205b23b7b9981002d4b58671650079e5d192 /source4/build/pidl/swig.pm
parent70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e (diff)
downloadsamba-9fb065f2a6798233525042c00beee23a8130864a.tar.gz
samba-9fb065f2a6798233525042c00beee23a8130864a.tar.bz2
samba-9fb065f2a6798233525042c00beee23a8130864a.zip
r2962: Tweak to get conversion function for pointers to union compiling again.
(This used to be commit 8c9c94d578651c5884db0aa0feb6e16858274fbb)
Diffstat (limited to 'source4/build/pidl/swig.pm')
-rw-r--r--source4/build/pidl/swig.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm
index 76ef99b631..7fad25d258 100644
--- a/source4/build/pidl/swig.pm
+++ b/source4/build/pidl/swig.pm
@@ -547,7 +547,7 @@ sub ParseUnion($)
$result .= "\tif (switch_is == $e->{CASE}) {\n";
my $prefix = util::c_pull_prefix($e);
if (defined $e->{DATA}{NAME}) {
- $result .= "\t\tPyDict_SetItemString(obj, \"$e->{DATA}{NAME}\", $e->{DATA}{TYPE}_ptr_to_python(mem_ctx, $prefix\u->$e->{DATA}{NAME}));\n";
+ $result .= "\t\tPyDict_SetItemString(obj, \"$e->{DATA}{NAME}\", $e->{DATA}{TYPE}_ptr_to_python(mem_ctx, ${prefix}u->$e->{DATA}{NAME}));\n";
}
$result .= "\t}\n";
}