aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/sbkenum.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-08-10 17:12:40 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:11 -0300
commit593b6345a8906b043d854a57bcb84a55f3955340 (patch)
tree88f4b0aec8553457c8d7dfc3a71c85fdf94f5d39 /libshiboken/sbkenum.h
parentac626ce3684ec42c56ab44dccc92fd2022ba5d7b (diff)
Mark deprecated functions as deprecated.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'libshiboken/sbkenum.h')
-rw-r--r--libshiboken/sbkenum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libshiboken/sbkenum.h b/libshiboken/sbkenum.h
index 52a0b6ffc..f205302ef 100644
--- a/libshiboken/sbkenum.h
+++ b/libshiboken/sbkenum.h
@@ -80,7 +80,8 @@ namespace Enum
LIBSHIBOKEN_API PyObject* newItem(PyTypeObject* enumType, long itemValue, const char* itemName = 0);
- LIBSHIBOKEN_API PyTypeObject* newType(const char* name); //Deprecated use 'newTypeWithName'
+ /// \deprecated Use 'newTypeWithName'
+ SBK_DEPRECATED(LIBSHIBOKEN_API PyTypeObject* newType(const char* name));
LIBSHIBOKEN_API PyTypeObject* newTypeWithName(const char* name, const char* cppName);
LIBSHIBOKEN_API const char* getCppName(PyTypeObject* type);