Skip to content

Commit

Permalink
Use new stdlib import convention for latest Cython.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Mar 7, 2011
1 parent d844910 commit d2264a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lulu/base.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ from lulu.connected_region cimport ConnectedRegion

cimport lulu.connected_region_handler as crh
cimport int_array as iarr
cimport stdlib
cimport libc.stdlib as stdlib
from int_array cimport IntArray

def connected_regions(np.ndarray[np.int_t, ndim=2] img):
Expand Down
2 changes: 1 addition & 1 deletion lulu/connected_region_handler.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import numpy as np
# about the numpy module (this is stored in a file numpy.pxd which is
# currently part of the Cython distribution).
cimport numpy as np
cimport stdlib
cimport libc.stdlib as stdlib

cimport lulu.connected_region_handler as crh
cimport int_array as iarr
Expand Down
2 changes: 1 addition & 1 deletion lulu/int_array.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- python -*-

cimport int_array
cimport stdlib
cimport libc.stdlib as stdlib

from int_array cimport HEAP_SIZE

Expand Down

0 comments on commit d2264a6

Please sign in to comment.