Russel Winder

Results 83 comments of Russel Winder

OK, I cut and paste into the function manually.

The C header file declaration of the function is: ```c struct dvb_v5_descriptors *dvb_scan_transponder(struct dvb_v5_fe_parms *parms, struct dvb_entry *entry, int dmx_fd, check_frontend_t *check_frontend, void *args, unsigned other_nit, unsigned timeout_multiply); ``` so...

```c typedef int (check_frontend_t)(void *args, struct dvb_v5_fe_parms *parms); ```

I changed `uint` to `__u32` and `ushort` to `__u16` and no parse error.

I use the following shell script: ```bash #!/bin/sh location=source/libdvbv5 mkdir -p $location rm -rf $location/* paths=$(ls -1 /usr/include/libdvbv5/*.h) for p in $paths do dstep -o $location/$(basename $p .h | sed...

I also get: ``` ldc2 -I=source/libdvbv5 -I=source/linux -I=source/linux_dvb -O -release -c -relocation-model=pic -of=Build/Release/source/libdvbv5/dvb_frontend.o source/libdvbv5/dvb_frontend.d source/libdvbv5/dvb_frontend.d(631): Error: undefined identifier `_IOW` source/libdvbv5/dvb_frontend.d(632): Error: undefined identifier `_IOR` source/libdvbv5/dvb_frontend.d(643): Error: undefined identifier `_IOR` source/libdvbv5/dvb_frontend.d(645):...

Importing ioctl.d got things moving. I had to manually add a collection of other imports but I now have a build. I had to change all the _IOx to _IOx!…...

I guess the question has to be how does C ever compile it. If we get very confident that the #include is definitely missing, I will create a pull request...

@mihails-strasuns-sociomantic Indeed. The whole C #include thing was sort of fine in 1979, but we have moved on since. :-) I am gearing up to tackling creating a pull request...

I have been using unit-threaded for a while, I can recommend it over using just built-in features.