git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f182e
)
r2962: Tweak to get conversion function for pointers to union compiling again.
author
Tim Potter
<tpot@samba.org>
Thu, 14 Oct 2004 05:59:28 +0000
(
05:59
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:59:52 +0000
(12:59 -0500)
(This used to be commit
8c9c94d578651c5884db0aa0feb6e16858274fbb
)
source4/build/pidl/swig.pm
patch
|
blob
|
history
diff --git
a/source4/build/pidl/swig.pm
b/source4/build/pidl/swig.pm
index 76ef99b6319425f8ff284598ce870d5d604f1e79..7fad25d2581cd5b1a92e9ee1c51a7c6bca4762ee 100644
(file)
--- 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";
}