This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mixing gc with someon else's lib


how do i mix my own code (calling GC_MALLOC) with other libs which
could use any memory management techniques they want?  thinking about
it, i guess any library and client code must use compatible mm.  so i
guess a library must either use malloc or provide it's own alloc
functions.

unfortunately, i want to embed python in my app, and it uses it's own
mm.  is the only answer to patch python to use GC_MALLOC for all
memory alloc?

and can i use mmaps in my own code? what do i have to be careful about?


ta, jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]