bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type-safe typecasts


From: Bruno Haible
Subject: Re: Type-safe typecasts
Date: Tue, 06 Apr 2021 21:56:39 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-206-generic; KDE/5.18.0; x86_64; ; )

Ben Pfaff wrote:
> I've found a few macros for casts useful over years. PSPP uses
> CONST_CAST and UP_CAST from the file below quite a bit:
> https://git.savannah.gnu.org/cgit/pspp.git/tree/src/libpspp/cast.h

Other projects may want to use these macros as well.
That would make a great contribution to Gnulib!

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]