From 9c24ac75e52b38872786ddf1c2c84fbbd909a3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 18 Jul 2011 20:57:07 +0200 Subject: Updated cython files to include new header locations --- portato/eix/parser.pyx | 8 ++++---- portato/ipc.pxd | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/portato/eix/parser.pyx b/portato/eix/parser.pyx index a6bcc96..d72e052 100644 --- a/portato/eix/parser.pyx +++ b/portato/eix/parser.pyx @@ -36,10 +36,10 @@ cdef extern from "Python.h": ctypedef unsigned char UChar ctypedef long long LLong -from python_unicode cimport PyUnicode_DecodeUTF8 -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory -from python_string cimport PyString_FromStringAndSize +from cpython.unicode cimport PyUnicode_DecodeUTF8 +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory +from cpython.string cimport PyString_FromStringAndSize from portato.eix.exceptions import EndOfFileException diff --git a/portato/ipc.pxd b/portato/ipc.pxd index 5bcddd1..b15fe0c 100644 --- a/portato/ipc.pxd +++ b/portato/ipc.pxd @@ -10,9 +10,9 @@ # # Written by René 'Necoro' Neumann -from python_string cimport * -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory +from cpython.string cimport * +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory cdef extern from "errno.h": int errno -- cgit v1.2.3