>>>>> "Roman" == Roman Kennke <[EMAIL PROTECTED]> writes:

Roman> I replaced calls to malloc() and free() in jcl.c and
Roman> native_state.c with the corresponding target macros for
Roman> improved portability.

Roman> -  void *mem = malloc (size);
Roman> +  void *mem;
Roman> +  TARGET_NATIVE_MEMORY_ALLOC(mem,void *,size);

This is super ugly.  Couldn't the allocator macro return a value?
Also, what platform requires us not to call 'malloc'?

Tom


_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to