How do I use the memory blocks getting by the malloc() function in python?
刘振海 <[email protected]> Sat, 9 Oct 2010 20:01:07 +0800
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
--===============1026143495== Content-Type: multipart/alternative; boundary=0016364d2e2fe3370f04922de19c --0016364d2e2fe3370f04922de19c Content-Type: text/plain; charset=ISO-8859-1 Hi, I use the pyrex to wrap the libs,and I was wondering that If I use the malloc() function to get a pointer in the C extention module ,How to let python to use the memory blocks? Thanks! --0016364d2e2fe3370f04922de19c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Hi,</div> <div>I use the pyrex to wrap=A0the libs,and I was wondering that If I use t= he malloc() function=A0to get a pointer=A0in the C extention module ,How to= let python to use the memory blocks?</div> <div>Thanks!</div> --0016364d2e2fe3370f04922de19c-- --===============1026143495== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Pyrex mailing list [email protected] http://lists.copyleft.no/mailman/listinfo/pyrex --===============1026143495==--