Re: [fpc-pascal] Using FPC MM in a C program

2009-01-06 Thread Micha Nelissen
leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? I have a crtl.pas which defines a few functions (malloc, calloc, free, memmove, memcpy) to help in using libraries written in C with fpc programs without needing external dependencies

[fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread leledumbo
Since it's possible to use libc's MM via cmem unit, would the opposite be possible? -- View this message in context: http://www.nabble.com/Using-FPC-MM-in-a-C-program-tp21229445p21229445.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Michael Van Canneyt
On Wed, 31 Dec 2008, leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? From the point of view of FPC, there should not be a big problem. The C library, this is another matter. I am not sure that it supports plugging in a memory manager.

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Krishna
On Wed, Dec 31, 2008 at 4:39 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Wed, 31 Dec 2008, leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? From the point of view of FPC, there should not be a big problem. The C library,

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Vinzent Höfler
Michael Van Canneyt wrote: On Wed, 31 Dec 2008, leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? From the point of view of FPC, there should not be a big problem. The C library, this is another matter. I am not sure that it supports

Re: [fpc-pascal] Using FPC MM in a C program

2008-12-31 Thread Michael Van Canneyt
On Wed, 31 Dec 2008, Vinzent Höfler wrote: Michael Van Canneyt wrote: On Wed, 31 Dec 2008, leledumbo wrote: Since it's possible to use libc's MM via cmem unit, would the opposite be possible? From the point of view of FPC, there should not be a big problem. The C library,