From b41bfba22f4c92e8d5910bc73971f43238c89f30 Mon Sep 17 00:00:00 2001 From: "Thouis (Ray) Jones" Date: Tue, 19 Feb 2013 16:41:25 -0500 Subject: [PATCH] remove typedef, use numpy type in its place --- skimage/filter/_ctmf.pyx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/skimage/filter/_ctmf.pyx b/skimage/filter/_ctmf.pyx index 8133efb0..f5cd5fd0 100644 --- a/skimage/filter/_ctmf.pyx +++ b/skimage/filter/_ctmf.pyx @@ -18,9 +18,8 @@ from libc.stdlib cimport malloc, free from libc.string cimport memset cdef extern from "_histogram.h": - ctypedef unsigned short int uint16_t - void add16(uint16_t *dest, uint16_t *src) - void sub16(uint16_t *dest, uint16_t *src) + void add16(np.uint16_t *dest, np.uint16_t *src) + void sub16(np.uint16_t *dest, np.uint16_t *src) np.import_array()