On 7/20/06, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> Mike Emmel wrote:
> > I thoght about passing in null for pool to signal a local allocation but
> > this
> > hides a bug. I think its better to add a func to explitly create a local
> > hash.
>
> Right, but a magic pointer value might be enough, e.g.:
>
> #define FUSION_SHMPOOL_NONE     0xffffffff
>
> Ok, not the cleanest way...
>
> > The same can be done for vector.  The one in direct can then be deleted ?
>
> Yes, only fusion versions, though it makes libdirect less attractive
> without libfusion.
>
No one uses one without the other today.
I suggest merging them to be honest. I'm sure there are lots of other places we
can unify local and shared memory operations.
Its a better library together. You get a  decent lib that works on shared and
normal memory fairly transparently.

Mike



> > I can make the other clean ups you suggest also.
>
> Ok :)
>
> --
> Best regards,
>    Denis Oliver Kropp
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to