Blue Swirl wrote:
/* malloc interface */ +extern void* ofmem_malloc_align( size_t size, int alignment );
The standard function with this signature would be posix_memalign(), so how about ofmem_memalign() or even ofmem_posix_memalign()?
ofmem_posix_memalign() seems to fit the convention better, so I'll go with that unless anyone has any objections?
'extern' isn't useful for function prototypes.
Yeah... again just copying the existing style of the file.
ATB,
Mark.