octal-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory allocation


From: Fredrik Roos
Subject: Memory allocation
Date: Fri Feb 16 11:48:02 2001
User-agent: Mutt/1.2.5i

According to the guidelines in the ox-api docs, memory
allocation is not allowed during ox_work(). But if you
need temporary buffers during processing, this is the
only place where the blocksize is known. With the 
current API, you have to allocate memory in ox_work().
What about a callback similar to ox_update() that tells
the plugin when the host want to change the blocksize?

    --fredrik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]