summaryrefslogtreecommitdiff
path: root/modules/intprops
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-08-09 23:20:49 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-08-10 00:22:08 -0700
commit9331caeffae1b7b5f49b65c98c2ff9cc8f3691fd (patch)
tree5ed6ffabac459bfc79fb59cf72ee725d44203771 /modules/intprops
parent7523bcf5dc9d8026006777c14e15c44430837f51 (diff)
downloadgnulib-9331caeffae1b7b5f49b65c98c2ff9cc8f3691fd.tar.gz
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.
Diffstat (limited to 'modules/intprops')
-rw-r--r--modules/intprops1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/intprops b/modules/intprops
index 0680adf05a..f3392352e1 100644
--- a/modules/intprops
+++ b/modules/intprops
@@ -3,6 +3,7 @@ Properties of integer types
Files:
lib/intprops.h
+lib/intprops-internal.h
Depends-on: