mirror of
https://github.com/samsonjs/lake.git
synced 2026-03-25 08:55:49 +00:00
23 lines
No EOL
355 B
C
23 lines
No EOL
355 B
C
/**
|
||
* int.h
|
||
* Lake Scheme
|
||
*
|
||
* Copyright 2011 Sami Samhuri
|
||
* MIT License
|
||
*
|
||
*/
|
||
|
||
#ifndef _LAKE_INT_H
|
||
#define _LAKE_INT_H
|
||
|
||
#include "lake.h"
|
||
|
||
/* Min value of 64-bit int is −9,223,372,036,854,775,808 */
|
||
#define MAX_INT_LENGTH 20
|
||
|
||
LakeInt *int_make(void);
|
||
LakeInt *int_from_c(int n);
|
||
LakeStr *int_to_str(LakeInt *i);
|
||
char *int_repr(LakeInt *i);
|
||
|
||
#endif |