Re: Re: API.html bug? (VIDEO_PALETTE YUV names again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 	driver_bar(file, struct video_bar *b)
> 	{
> 		struct file_data *fh = file->priv_data;
> 		struct driver_data *drv = fh->driver_data;

Why do you need those when you can pass them in ?

> I fail to see why the second is much better.  The somewhat
> ugly void pointer for arg is hidden in the core code, but
> that's all.  Is that really worth the effort?

Im not sure, Linus thinks yes





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux