summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-17 21:58:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-18 02:20:21 +0100
commitbbab7ed8d935391d5c8c900f32b3db8caa438d08 (patch)
tree0a77b8499451cd34a9edbed0a0b99c347e9fe392 /pidl
parent455ef46785daee63cffc949ffbfbabf44e11328b (diff)
downloadsamba-bbab7ed8d935391d5c8c900f32b3db8caa438d08.tar.gz
samba-bbab7ed8d935391d5c8c900f32b3db8caa438d08.tar.bz2
samba-bbab7ed8d935391d5c8c900f32b3db8caa438d08.zip
pidl: Add prototype for init function in pidl-generated Python bindings.
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm
index 09ebd577e0..70289e1636 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -1310,6 +1310,7 @@ sub Parse($$$$$)
$self->pidl("");
+ $self->pidl_hdr("void init$basename(void);");
$self->pidl("void init$basename(void)");
$self->pidl("{");
$self->indent;