Re: [hackers] [[dwm][PATCH]] drw / utf8decode : simpler is better ?

From: NRK <>
Date: Tue, 16 Aug 2022 08:14:54 +0600

On Tue, Aug 16, 2022 at 12:00:52AM +0200, Hiltjo Posthuma wrote:
> I'd like to keep these functions. drw.{c,h} and some util functions are shared
> between some projects.

All the utf8 functions in drw.c are `static`. They can't be used from
another TU, by default at least.

If they *are* being used by some project (after modifying the source to
remove the `static` qualifier) then I think it'd make more sense to move
those functions to util.c and expose them in the header.

Received on Tue Aug 16 2022 - 04:14:54 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 16 2022 - 04:24:36 CEST