diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-27 19:12:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-27 19:12:05 -0700 |
commit | 77d1199f8a7d7a5be06d8dfa0b0394f803fd8525 (patch) | |
tree | 0395b62a5dcf00b84decec2b99e3fce784dfa6e5 /lib.h | |
parent | 6e10b08485741a5c960f32b80f43ab6e9070ea0a (diff) | |
download | txr-77d1199f8a7d7a5be06d8dfa0b0394f803fd8525.tar.gz txr-77d1199f8a7d7a5be06d8dfa0b0394f803fd8525.tar.bz2 txr-77d1199f8a7d7a5be06d8dfa0b0394f803fd8525.zip |
lib: move TAG_PAIR out of arith.c.
The TAG_PAIR macro is going to be useful outside of the
math module.
* arith.c (TAG_PAIR): Macro removed.
* lib.h (TAG_PAIR): Added here--oh look!--next to the very
similar and related TYPE_PAIR.
Diffstat (limited to 'lib.h')
-rw-r--r-- | lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ typedef enum type { #define TYPE_SHIFT 5 #define TYPE_PAIR(A, B) ((A) << TYPE_SHIFT | (B)) +#define TAG_PAIR(A, B) ((A) << TAG_SHIFT | (B)) typedef enum functype { |