~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_rio_pyx.pyx

  • Committer: Jelmer Vernooij
  • Date: 2009-05-15 02:36:03 UTC
  • mto: This revision was merged to the branch mainline in revision 4369.
  • Revision ID: jelmer@samba.org-20090515023603-x7jsmtb5h66y7efp
Import malloc and friends from stdlib.h rather than from (deprecated) malloc.h.

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 *)