KVIrc 5.2.0
Developer APIs
pythonheaderwrapper.h
Go to the documentation of this file.
1#ifndef _PYTHONHEADERWRAPPER_H_
2#define _PYTHONHEADERWRAPPER_H_
3
4// As of Python 3, something inside <Python.h> defines a struct with a member
5// called "slots" which conflicts with the builtin Qt keyword. But since we
6// include stuff from KVIrc itself back into the python module, we can't just
7// use QT_NO_KEYWORDS.
8#undef slots
9
10#include <Python.h>
11
12#endif