logo       

Re: Using APR for Harmony's native link to the OS?: msg#00976

java.harmony.devel

Subject: Re: Using APR for Harmony's native link to the OS?

Artem Aliev wrote:
You can always still use plain old malloc(), right?

Unfortunately, all apr_*_create functions require apr_pool_t* as argument.

I meant, if you have some function that just needs to allocate some
heap memory temporarily, you can use malloc() directly .. as if APR
were not even present. I.e., you don't have to use APR for *everything*.

-Archie

__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise