Hello experts.
I am writing a native function for the Lejos VM and the function needs to allocate some memory dynamically for a multi-precision number computation (memory allocated could be around 2K), which would be released immediately after the computation. I saw some functions in memory.c (java_allocate(), system_allocate()), but not sure which is the correct one to use as none is working.
Advice much appreciated.
Thanks.
