]> Savannah Git Hosting - gnulib.git/commit
intprops: refactor intprops.h into two
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 06:20:49 +0000 (23:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Aug 2022 07:22:08 +0000 (00:22 -0700)
commit9331caeffae1b7b5f49b65c98c2ff9cc8f3691fd
tree5ed6ffabac459bfc79fb59cf72ee725d44203771
parent7523bcf5dc9d8026006777c14e15c44430837f51
intprops: refactor intprops.h into two

* lib/intprops.h: Include new file intprops-internal.h.
(_GL_INT_CONVERT, _GL_INT_NEGATE_CONVERT, _GL_INT_MINIMUM)
(_GL_INT_MAXIMUM, _GL_SIGNED_INT_MAXIMUM, LLONG_MAX, LLONG_MIN)
(_GL_HAVE___TYPEOF__, _GL_SIGNED_TYPE_OR_EXPR)
(_GL_HAS_BUILTIN_ADD_OVERFLOW, _GL_HAS_BUILTIN_MUL_OVERFLOW)
(_GL_HAS_BUILTIN_OVERFLOW_P, _GL__GENERIC_BOGUS)
(_GL_INT_OP_WRAPV, _GL_INT_OP_WRAPV_LONGISH, _GL_INT_OP_CALC)
(_GL_INT_OP_WRAPV_VIA_UNSIGNED, _GL_INT_ADD_RANGE_OVERFLOW)
(_GL_INT_SUBTRACT_RANGE_OVERFLOW)
(_GL_INT_MULTIPLY_RANGE_OVERFLOW):
Move to intprops-internal.h.
(TYPE_SIGNED, EXPR_SIGNED, TYPE_WIDTH, INT_NEGATE_RANGE_OVERFLOW)
(INT_NEGATE_OVERFLOW, INT_ADD_WRAPV, INT_SUBTRACT_WRAPV)
(INT_MULTIPLY_WRAPV): Rename to _GL_ prefix, move to
intprops-internal.h, and define here in terms of the _GL_ name.
* lib/intprops-internal.h: New file, containing the above.
* modules/intprops (Files): Add lib/intprops-internal.h.
ChangeLog
lib/intprops-internal.h [new file with mode: 0644]
lib/intprops.h
modules/intprops