I think so. since we already have the OSMemoryWin32 and OSMemoryLinux32.c for the different implementation.
On Mon, Dec 1, 2008 at 3:11 PM, Regis <[EMAIL PROTECTED]> wrote: > Hi, > > I just found OSMemory.h has almost the same content in windows and unix, the > only differences are order of function definitions and comments. So I think > if they should be merged and moved to shared directory? > And I go through OSMemory.c quickly, found the most implementation are also > similar, looks like: > windows: > hymem_free_memory ((void *) address); > > unix: > hymem_free_memory ((void *) ((IDATA) address)); > > I'm not clear why we need one more cast here, or is it possible to merge > this two implementations to one? If so, I'm volunteer to do this :) > -- Tony Wu China Software Development Lab, IBM
