remove typedef, use numpy type in its place

This commit is contained in:
Thouis (Ray) Jones
2013-02-19 16:41:25 -05:00
parent b5b99d8872
commit b41bfba22f
+2 -3
View File
@@ -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()