summaryrefslogtreecommitdiff
path: root/source4/pidl/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-26 04:14:28 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-26 04:14:28 +0200
commitd5434f0b4bcf744e5a5f0e933bdcf629d42a6478 (patch)
treeace24381ce274aa5d1d29af03ffd7917732334da /source4/pidl/lib
parentd60d8e57d83acfc94fa36c59fcfb9c6e03ee02b6 (diff)
downloadsamba-d5434f0b4bcf744e5a5f0e933bdcf629d42a6478.tar.gz
samba-d5434f0b4bcf744e5a5f0e933bdcf629d42a6478.tar.bz2
samba-d5434f0b4bcf744e5a5f0e933bdcf629d42a6478.zip
Allow using IRPC functions on the messaging bus from Python.
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/Python.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 055ee13b10..b5ae801ff8 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -651,7 +651,7 @@ sub Interface($$$)
}
$self->pidl("const struct PyNdrRpcMethodDef py_ndr_$interface->{NAME}\_methods[] = {");
- $self->pidl_hdr("const struct PyNdrRpcMethodDef py_ndr_$interface->{NAME}\_methods[];");
+ $self->pidl_hdr("extern const struct PyNdrRpcMethodDef py_ndr_$interface->{NAME}\_methods[];");
$self->indent;
foreach my $d (@fns) {
my ($infn, $outfn, $callfn, $prettyname, $docstring, $opnum) = @$d;