[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
- Re: Type-safe typecasts, (continued)
- Re: Type-safe typecasts, Marc Nieper-Wißkirchen, 2021/04/06
- Re: gl_list API, Bruno Haible, 2021/04/06
- Re: gl_list API, Paul Eggert, 2021/04/06
- Re: gl_list API, Bruno Haible, 2021/04/06
- Re: gl_list API, Marc Nieper-Wißkirchen, 2021/04/06
- Re: cast macros, Bruno Haible, 2021/04/06
- Re: cast macros, Ben Pfaff, 2021/04/18
- Re: gl_list API, Ben Pfaff, 2021/04/18
- Re: Type-safe typecasts, Bruno Haible, 2021/04/06
Re: Type-safe typecasts, Ben Pfaff, 2021/04/06