Hi Branden,

I was wondering if it would be good to nest SY/YS.

What do you think of this?:

 .SY void\~*bsearch (
 .BI const\~void\~ key [. size ],
 .BI const\~void\~ base [. size \~*\~. n ],
 .BI size_t\~ n ,
 .BI size_t\~ size ,
 .br
-.BI int\~(* compar )(const\~void\~[. size ],
+.SY int\~(*\f[I]compar\f[]) (
+.BI const\~void\~[. size ],
 .BI const\~void\~[. size ]));
+.YS
 .YS


Which would ideally produce:

       void *bsearch(const void key[.size],
                     const void base[.size * .n], size_t n, size_t size,
                     int (*compar)(const void [.size],
                                   const void [.size]));


Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature

Reply via email to