[SR-Dev] Patch: utils module compile fixes

Henning Westerholt henning.westerholt at 1und1.de
Tue Mar 31 14:45:12 CEST 2009


On Tuesday 31 March 2009, Jan Janak wrote:
> > > This patch is against the sr core, but perhaps its more appropriate to
> > > place it in the libkcore library.
> >
> > If this should be placed in the libkcore library, i'll rework the patch
> > to apply to this.
>
> This should imho go the the core. I slightly reworked the patch, I wanted
> to avoid code duplication and used macros instead. I've send the patch to
> Andrei (it is his code) for an ack and I'll commit if it is fine with him.

Hi Jan,

i've thought to implement something like this with function pointers for the 
allocation functions, but i don't liked to implement wrapper functions for 
the MM #defines. Your approach don't need this, nice. :-)

Cheers,

Henning



More information about the sr-dev mailing list