[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nested SY/YS
From: |
Alejandro Colomar |
Subject: |
Nested SY/YS |
Date: |
Sun, 1 Dec 2024 15:17:22 +0100 |
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/>
signature.asc
Description: PGP signature
- Nested SY/YS,
Alejandro Colomar <=