Struct for representing python ints.
More...
#include "include/modules/pythonmonkey/pythonmonkey.hh"
#include "include/IntType.hh"
#include <jsapi.h>
#include <js/BigInt.h>
#include <Python.h>
#include "include/pyshim.hh"
#include <vector>
◆ CELL_HEADER_LENGTH
#define CELL_HEADER_LENGTH 8 |
◆ JS_DIGIT_BIT
#define JS_DIGIT_BIT JS_BITS_PER_WORD |
◆ JS_DIGIT_BYTE
#define JS_DIGIT_BYTE (sizeof(js_digit_t)/sizeof(uint8_t)) |
◆ js_digit_t
#define js_digit_t uintptr_t |
◆ JS_INLINE_DIGIT_MAX_LEN
#define JS_INLINE_DIGIT_MAX_LEN 1 |
◆ PY_DIGIT_BIT
#define PY_DIGIT_BIT PYLONG_BITS_IN_DIGIT |
◆ SIGN_BIT_MASK
#define SIGN_BIT_MASK 0b1000 |