11#ifndef PythonMonkey_IntType_
12#define PythonMonkey_IntType_
31 static PyObject *
getPyObject(JSContext *cx, JS::BigInt *bigint);
39 static JS::BigInt *
toJsBigInt(JSContext *cx, PyObject *pyObject);
This struct represents the 'int' type (arbitrary-precision) in Python.
Definition IntType.hh:21
static JS::BigInt * toJsBigInt(JSContext *cx, PyObject *pyObject)
Convert an int object to a JS::BigInt.
Definition IntType.cc:120
static PyObject * getPyObject(JSContext *cx, JS::BigInt *bigint)
Construct a new PyObject from a JS::BigInt.
Definition IntType.cc:72