diff options
author | Justus Winter <justus@g10code.com> | 2017-01-30 15:45:13 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-01-30 17:09:41 +0100 |
commit | e343984fc50e87830905614dc87f83f810551ad1 (patch) | |
tree | 585a7486bfe9b1a7963988dc9bd0c29f806038a0 /artwork | |
parent | gpgscm: Fix setting the line of the first gc reservation. (diff) | |
download | gnupg2-e343984fc50e87830905614dc87f83f810551ad1.tar.xz gnupg2-e343984fc50e87830905614dc87f83f810551ad1.zip |
gpgscm: Provide framework for immediate values.
* tests/gpgscm/scheme.c (IMMEDIATE_TAG): New macro.
({is,set,clr}_immediate): Likewise.
(enum scheme_types): Make type tags disjoint from immediate values.
(TYPE_BITS): We need one more bit now.
(ADJ,T_MASKTYPE): Compute values.
--
Immediate values are disjoint from all type tags and pointers,
allowing us to store immediate values in all memory locations.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'artwork')
0 files changed, 0 insertions, 0 deletions