diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-21 19:03:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-21 19:03:26 +0300 |
commit | 935f10dc45e482061f1af230d3f9a9f878000379 (patch) | |
tree | bd0de96c2cce465391c76a7d62050a903e09612f /source/blender/python/intern/bpy_util.h | |
parent | 6ab2d7ad659606cbf2a315ef9a576c364e6ec9bb (diff) |
get rid of warnings, fix for a refcount error
Diffstat (limited to 'source/blender/python/intern/bpy_util.h')
-rw-r--r-- | source/blender/python/intern/bpy_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_util.h b/source/blender/python/intern/bpy_util.h index 29e05228e7c..51e13f98a35 100644 --- a/source/blender/python/intern/bpy_util.h +++ b/source/blender/python/intern/bpy_util.h @@ -24,6 +24,9 @@ #include <Python.h> +#ifndef BPY_UTIL_H +#define BPY_UTIL_H + #include "bpy_compat.h" /* for internal use only, so python can interchange a sequence of strings with flags */ @@ -42,3 +45,5 @@ void BPY_getFileAndNum(char **filename, int *lineno); /* own python like utility function */ PyObject *PyObject_GetAttrStringArgs(PyObject *o, Py_ssize_t n, ...); + +#endif |