Prism Ruby parser
Loading...
Searching...
No Matches
integer.h
Go to the documentation of this file.
1
6#ifndef PRISM_INTEGER_H
7#define PRISM_INTEGER_H
8
9#include <stdbool.h>
10#include <stddef.h>
11#include <stdint.h>
12
16typedef struct {
21 size_t length;
22
26 uint32_t *values;
27
32 uint32_t value;
33
40
41#endif
A structure represents an arbitrary-sized integer.
Definition integer.h:16
size_t length
The number of allocated values.
Definition integer.h:21
uint32_t value
Embedded value for small integer.
Definition integer.h:32
uint32_t * values
List of 32-bit integers.
Definition integer.h:26
bool negative
Whether or not the integer is negative.
Definition integer.h:38