Convert varatt.h access macros to static inline functions. We've only bothered converting the external interfaces, not the endian-dependent internal macros (which should not be used by any callers other than the interface functions in this header, anyway).
The VARTAG_1B_E() changes are required for C++ compatibility. Author: Peter Eisentraut <pe...@eisentraut.org> Reviewed-by: Tom Lane <t...@sss.pgh.pa.us> Discussion: https://postgr.es/m/928ea48f-77c6-417b-897c-621ef1668...@eisentraut.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e035863c9a04beeecc254c3bfe48dab58e389e10 Modified Files -------------- doc/src/sgml/xfunc.sgml | 2 +- src/include/varatt.h | 336 +++++++++++++++++++++++++++++++++++++----------- 2 files changed, 261 insertions(+), 77 deletions(-)