[fpc-pascal] nested macros in C headers

Paulo Costa paco at fe.up.pt
Sun Apr 24 17:28:39 CEST 2011


On 24/04/2011 11:24, Bernd wrote:
> 2011/4/24 Sven Barth<pascaldragon at googlemail.com>:
>> Hi!
>>
>> I did convert the V4L2 headers some time ago, but did not publish them yet.
>> If you want to, I can send you the Pascal file. I tested it with a radio
>> tuner, so it should work mostly.
>
> This would surely be helpful. Please consider also releasing them with
> an FPC compatible license, because while searching on google I have
> seen quite a few discussions where users were desperately searching
> for any way to access the v4l API but no existing and working solution
> for FPC seems to exist at the moment and porting all these overly
> convoluted and obfuscated kernel headers into something readable and
> usable is really not a trivial task at all.
>
> Bernd


Well, you can have it with Lazarus in:

http://wiki.lazarus.freepascal.org/5dpo

the TSdpoVideo4L2 component has the V4L2 translated...

Paulo Costa



More information about the fpc-pascal mailing list