~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_rio_pyx.pyx

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-15 11:29:41 UTC
  • mfrom: (4368.1.1 rio-stdlib)
  • Revision ID: pqm@pqm.ubuntu.com-20090515112941-ajpr1cci95j47aje
(Jelmer) Include stdlib.h for malloc/realloc/free in Pyrex RIO
        implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
cdef extern from "python-compat.h":
21
21
    pass
22
22
 
23
 
cdef extern from "malloc.h":
 
23
cdef extern from "stdlib.h":
24
24
    void *malloc(int)
25
25
    void *realloc(void *, int)
26
26
    void free(void *)