Re: DRM: merging drmfntbl-0-0-1 back to trunk

2004-08-17 Thread Dave Airlie
Using a standard no-op is a bit tricky as some fn return an int and some void, but maybe I can use something like the attached patch? Looks good to me. Actually after thinking about this some more I'm leaving the ifs in there, there are few places in the code where it does more than just

Re: DRM: merging drmfntbl-0-0-1 back to trunk

2004-08-12 Thread Michel Dänzer
On Thu, 2004-08-12 at 05:25 +0100, Dave Airlie wrote: The only open issue I have is the ugliness of the if (dev-fn_tbl.my_func) dev-fn_tbl.my_func(x) Using a standard no-op is a bit tricky as some fn return an int and some void, but maybe I can use something like