mirror of
https://github.com/janet-lang/janet
synced 2026-04-27 01:01:27 +00:00
bigint pretty printing
This commit is contained in:
@@ -1321,6 +1321,19 @@ JANET_API JanetTArrayView *janet_gettarray_view(const Janet *argv, int32_t n, Ja
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef JANET_BIGINT
|
||||
|
||||
typedef enum {
|
||||
JANET_BIGINT_TYPE_int64,
|
||||
JANET_BIGINT_TYPE_uint64,
|
||||
} JanetBigintType;
|
||||
|
||||
JANET_API int janet_is_bigint(Janet x, JanetBigintType type);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/***** END SECTION MAIN *****/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user