summaryrefslogtreecommitdiff
path: root/include/efl.utils.deprecated.pxd
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-10-25 02:03:31 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2013-10-25 02:09:29 +0300
commit3d852863369d20d43d9c2dca311637293966afae (patch)
tree5de04b0aa48219a37d5ca5b74ae84566eef921c4 /include/efl.utils.deprecated.pxd
parent4771ca5ccb7654119a67de72dc28020e091bc3b5 (diff)
Add arguments 'version' and 'message' to DEPRECATED decorator.
The decorator will automatically add a directive to the docstring and log a message when the function is called.
Diffstat (limited to 'include/efl.utils.deprecated.pxd')
-rw-r--r--include/efl.utils.deprecated.pxd4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/efl.utils.deprecated.pxd b/include/efl.utils.deprecated.pxd
new file mode 100644
index 0000000..f1e603b
--- /dev/null
+++ b/include/efl.utils.deprecated.pxd
@@ -0,0 +1,4 @@
1cdef:
2 class DEPRECATED(object):
3 cdef:
4 str version, message