hopefully fixes building on msvc, also some minor header edits
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
* \ingroup pythonintern
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __BPY_UTIL_H__
|
||||
#define __BPY_UTIL_H__
|
||||
|
||||
@@ -33,12 +32,13 @@
|
||||
#endif
|
||||
|
||||
#if PY_VERSION_HEX < 0x03030000
|
||||
# warning "Python 3.2 will be deprecated soon, upgrade to Python 3.3."
|
||||
# ifdef _MSC_VER
|
||||
# pragma message("Python 3.2 will be deprecated soon, upgrade to Python 3.3.")
|
||||
# else
|
||||
# warning "Python 3.2 will be deprecated soon, upgrade to Python 3.3."
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
#include "RNA_types.h" /* for EnumPropertyItem only */
|
||||
|
||||
struct EnumPropertyItem;
|
||||
struct ReportList;
|
||||
|
||||
@@ -56,4 +56,5 @@ void BPy_SetContext(struct bContext *C);
|
||||
|
||||
extern void bpy_context_set(struct bContext *C, PyGILState_STATE *gilstate);
|
||||
extern void bpy_context_clear(struct bContext *C, PyGILState_STATE *gilstate);
|
||||
#endif
|
||||
|
||||
#endif /* __BPY_UTIL_H__ */
|
||||
|
||||
Reference in New Issue
Block a user