author | Tero Marttila <terom@fixme.fi> |
Tue, 26 Jan 2010 01:37:01 +0200 | |
changeset 104 | b5ae988c78b8 |
parent 103 | 1a6a6957197d |
child 105 | 30c091643f75 |
--- a/python/pypngtile.pyx Tue Jan 26 01:26:05 2010 +0200 +++ b/python/pypngtile.pyx Tue Jan 26 01:37:01 2010 +0200 @@ -97,10 +97,16 @@ cdef pt_image *image + # XXX: should really be a pt_image property... + cdef readonly object path + # open the pt_image def __cinit__ (self, char *path, int mode = 0) : cdef int err + + # store + self.path = path # open with nogil :