Re: untyped device calls (was: Re: General device properties API)

2021-10-03 Thread Mouse
> That is, instead of > devhandle->enumerate_children(dev, devhandle, callback, callback_arg) > (which one might dress up with a macro), we get, equally unwrapped: > struct device_enumerate_children_args args; > args.callback = callback; > args.callback = callback_arg; >

untyped device calls (was: Re: General device properties API)

2021-10-03 Thread David Holland
On Mon, Sep 20, 2021 at 09:03:12PM +, Taylor R Campbell wrote: > > In any case, here is a diff that adds the argument structure type > > checking. I also added an awk program to generate the argument > > structures and all of the call binding stuff automatically from an > > interface