diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-05-18 11:40:04 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-05-18 15:52:23 -0300 |
commit | b71a7511d8b76922b738c0f8102a85d27b673b8e (patch) | |
tree | 11063d50c70aaf87486e8ad5a50309dfb2d94a38 /libshiboken/pyenum.h | |
parent | 960774e63afe0a9386383c71c4831fab7c42e790 (diff) |
API fixes.
* Export enums without macro
* Declare virtual destructor on all classes with virtual functions
* Fix extern "C" declaration scope
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>,
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'libshiboken/pyenum.h')
-rw-r--r-- | libshiboken/pyenum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libshiboken/pyenum.h b/libshiboken/pyenum.h index a29a7f1c5..43a8d5142 100644 --- a/libshiboken/pyenum.h +++ b/libshiboken/pyenum.h @@ -32,8 +32,8 @@ * 02110-1301 USA */ -#ifndef PYENUM_H -#define PYENUM_H +#ifndef SBK_PYENUM_H +#define SBK_PYENUM_H #include <Python.h> #include "shibokenmacros.h" @@ -71,5 +71,5 @@ LIBSHIBOKEN_API PyObject* SbkEnumObject_New(PyTypeObject *instanceType, } // namespace Shiboken -#endif // PYENUM_H +#endif // SKB_PYENUM_H |