In the tutorial programs, the interface pointer is used in two places. For example:
DirectFBCreate(&dfb); ... dfb->CreateSurface(dfb, &dsc, &primary); I am not sure why this is done. The syntax: dfb->CreateSurface( seems enough to dereference the function pointer and uniquely indicate the instance. Passing the interface pointer as first parameter to the function seems redundant. I'd value an explanation, as I have evidently not quite understood. Thanks, Chris ======================== Chris Bore BORES Signal Processing [EMAIL PROTECTED] www.bores.com Tel: +44 1483 740138 Mobile: +44 7921 153 219 _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users