pgsql: Make unconstify and unvolatize use StaticAssertVariableIsOfTypeM - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Make unconstify and unvolatize use StaticAssertVariableIsOfTypeM
Date
Msg-id E1vyROP-002eVF-12@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make unconstify and unvolatize use StaticAssertVariableIsOfTypeMacro

The unconstify and unvolatize macros had an almost identical assertion
as was already defined in StaticAssertVariableIsOfTypeMacro, only it
had a less useful error message and didn't have a sizeof fallback.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion:
https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/258248d0bdbf1b1818e2c6a157b17227fd000d76

Modified Files
--------------
src/include/c.h | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Portable StaticAssertExpr
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Fix capitalization of Unicode