diff options
author | Arnaud Faucher <arnaud.faucher@gmail.com> | 2010-11-22 00:07:21 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-11-22 00:52:56 +0100 |
commit | 2ac5cedb719d220db412d0bdc69e34bad9ab26f1 (patch) | |
tree | 0544a791f72b2416b9bc74d62671d1547b1b2458 /source4/param | |
parent | 6534358a1ae0e3540f84ebc531519fe5c5711ad3 (diff) | |
download | samba-2ac5cedb719d220db412d0bdc69e34bad9ab26f1.tar.gz samba-2ac5cedb719d220db412d0bdc69e34bad9ab26f1.tar.bz2 samba-2ac5cedb719d220db412d0bdc69e34bad9ab26f1.zip |
Avoid the use of PyAPI_DATA, which is for internal Python API's.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/pyparam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c index b1e0d7df0e..cb7169e68d 100644 --- a/source4/param/pyparam.c +++ b/source4/param/pyparam.c @@ -32,8 +32,8 @@ typedef inquiry lenfunc; #define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context) #define PyLoadparmService_AsLoadparmService(obj) py_talloc_get_type(obj, struct loadparm_service) -PyAPI_DATA(PyTypeObject) PyLoadparmContext; -PyAPI_DATA(PyTypeObject) PyLoadparmService; +extern PyTypeObject PyLoadparmContext; +extern PyTypeObject PyLoadparmService; PyObject *PyLoadparmService_FromService(struct loadparm_service *service) { |