summaryrefslogtreecommitdiff
path: root/include/efl.utils.deprecated.pxd
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-11-05 11:42:26 +0100
committerDave Andreoli <dave@gurumeditation.it>2016-11-05 11:42:26 +0100
commit16fa850f246ef7214f42903a7d249267d69ffdad (patch)
tree421c82326ac0d8107ac5a66b164f74fc668ac3cb /include/efl.utils.deprecated.pxd
parent0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7 (diff)
Fix for cython 0.25
New cython do not like our cdef @DEPRECATED decorator implementation, I'm not able to fix it, so I just rewrite it in pure python. The new one is a bit simpler, it do not print the source file anymore, but still augment the documentation. Tested with Cython 0.24.1 and 0.25.1 on both python 2.7 and 3.5, hope is enough. #IHateCython
Diffstat (limited to '')
-rw-r--r--include/efl.utils.deprecated.pxd10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/efl.utils.deprecated.pxd b/include/efl.utils.deprecated.pxd
index ae153a6..5c8e44d 100644
--- a/include/efl.utils.deprecated.pxd
+++ b/include/efl.utils.deprecated.pxd
@@ -15,7 +15,9 @@
15# You should have received a copy of the GNU Lesser General Public License 15# You should have received a copy of the GNU Lesser General Public License
16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>. 16# along with this Python-EFL. If not, see <http://www.gnu.org/licenses/>.
17 17
18cdef: 18# 1.19: Converted to pure python implementation
19 class DEPRECATED(object): 19
20 cdef: 20# cdef:
21 str version, message 21# class DEPRECATED(object):
22# cdef:
23# str version, message