summaryrefslogtreecommitdiff
path: root/source4/scripting/python/pyrpc.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-16 16:12:58 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-16 16:12:58 +0200
commit9586462b8f61f4e37b34f45e58293b143de63cb0 (patch)
tree9eb36abddf6d19fd01e1f25d13a7e732055d1451 /source4/scripting/python/pyrpc.h
parenta58df2f54c5847a6a3dddad51465c319f1c387f5 (diff)
parent228f342b1f12accbf3c07e1d2a1c9a5459ed966b (diff)
downloadsamba-9586462b8f61f4e37b34f45e58293b143de63cb0.tar.gz
samba-9586462b8f61f4e37b34f45e58293b143de63cb0.tar.bz2
samba-9586462b8f61f4e37b34f45e58293b143de63cb0.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
Diffstat (limited to 'source4/scripting/python/pyrpc.h')
-rw-r--r--source4/scripting/python/pyrpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/scripting/python/pyrpc.h b/source4/scripting/python/pyrpc.h
index f4d0f37c39..93d583c10a 100644
--- a/source4/scripting/python/pyrpc.h
+++ b/source4/scripting/python/pyrpc.h
@@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _PYRPC_H_
+#define _PYRPC_H_
+
#define PY_CHECK_TYPE(type, var, fail) \
if (!type ## _Check(var)) {\
PyErr_Format(PyExc_TypeError, "Expected type %s", type ## _Type.tp_name); \
@@ -32,3 +35,5 @@
#ifndef PyAPI_DATA
# define PyAPI_DATA(RTYPE) extern RTYPE
#endif
+
+#endif /* _PYRPC_H_ */