2020-11-18 16:53:36 +00:00
|
|
|
/* This will be generated by the build system if this file is not used */
|
2019-03-22 18:31:20 +00:00
|
|
|
|
|
|
|
#ifndef JANETCONF_H
|
|
|
|
#define JANETCONF_H
|
|
|
|
|
2019-06-02 03:52:01 +00:00
|
|
|
#define JANET_VERSION_MAJOR 1
|
2022-08-15 01:19:39 +00:00
|
|
|
#define JANET_VERSION_MINOR 24
|
|
|
|
#define JANET_VERSION_PATCH 0
|
|
|
|
#define JANET_VERSION_EXTRA ""
|
|
|
|
#define JANET_VERSION "1.24.0"
|
2019-03-22 18:31:20 +00:00
|
|
|
|
|
|
|
/* #define JANET_BUILD "local" */
|
2019-05-28 17:59:12 +00:00
|
|
|
|
|
|
|
/* These settings all affect linking, so use cautiously. */
|
2019-03-22 18:31:20 +00:00
|
|
|
/* #define JANET_SINGLE_THREADED */
|
|
|
|
/* #define JANET_NO_DYNAMIC_MODULES */
|
2019-05-28 17:59:12 +00:00
|
|
|
/* #define JANET_NO_NANBOX */
|
|
|
|
/* #define JANET_API __attribute__((visibility ("default"))) */
|
|
|
|
|
2019-06-20 20:33:28 +00:00
|
|
|
/* These settings should be specified before amalgamation is
|
2020-07-03 14:54:58 +00:00
|
|
|
* built. Any build with these set should be considered non-standard, and
|
|
|
|
* certain Janet libraries should be expected not to work. */
|
2019-06-20 20:33:28 +00:00
|
|
|
/* #define JANET_NO_DOCSTRINGS */
|
|
|
|
/* #define JANET_NO_SOURCEMAPS */
|
|
|
|
/* #define JANET_REDUCED_OS */
|
2020-05-09 17:00:01 +00:00
|
|
|
/* #define JANET_NO_PROCESSES */
|
2019-03-22 18:31:20 +00:00
|
|
|
/* #define JANET_NO_ASSEMBLER */
|
|
|
|
/* #define JANET_NO_PEG */
|
2020-02-02 02:39:54 +00:00
|
|
|
/* #define JANET_NO_NET */
|
2019-03-22 18:31:20 +00:00
|
|
|
/* #define JANET_NO_INT_TYPES */
|
2020-05-28 15:39:40 +00:00
|
|
|
/* #define JANET_NO_EV */
|
2020-07-03 14:54:58 +00:00
|
|
|
/* #define JANET_NO_REALPATH */
|
|
|
|
/* #define JANET_NO_SYMLINKS */
|
|
|
|
/* #define JANET_NO_UMASK */
|
2021-07-17 20:13:28 +00:00
|
|
|
/* #define JANET_NO_THREADS */
|
2020-05-09 17:00:01 +00:00
|
|
|
|
|
|
|
/* Other settings */
|
2020-08-17 12:01:58 +00:00
|
|
|
/* #define JANET_DEBUG */
|
2020-07-25 18:34:40 +00:00
|
|
|
/* #define JANET_PRF */
|
2020-05-09 17:00:01 +00:00
|
|
|
/* #define JANET_NO_UTC_MKTIME */
|
2019-03-22 18:31:20 +00:00
|
|
|
/* #define JANET_OUT_OF_MEMORY do { printf("janet out of memory\n"); exit(1); } while (0) */
|
2020-05-09 17:00:01 +00:00
|
|
|
/* #define JANET_EXIT(msg) do { printf("C assert failed executing janet: %s\n", msg); exit(1); } while (0) */
|
|
|
|
/* #define JANET_TOP_LEVEL_SIGNAL(msg) call_my_function((msg), stderr) */
|
2019-03-22 18:31:20 +00:00
|
|
|
/* #define JANET_RECURSION_GUARD 1024 */
|
|
|
|
/* #define JANET_MAX_PROTO_DEPTH 200 */
|
|
|
|
/* #define JANET_MAX_MACRO_EXPAND 200 */
|
|
|
|
/* #define JANET_STACK_MAX 16384 */
|
2019-08-18 15:00:04 +00:00
|
|
|
/* #define JANET_OS_NAME my-custom-os */
|
|
|
|
/* #define JANET_ARCH_NAME pdp-8 */
|
2021-07-22 02:46:26 +00:00
|
|
|
/* #define JANET_EV_NO_EPOLL */
|
2021-09-03 20:48:31 +00:00
|
|
|
/* #define JANET_EV_NO_KQUEUE */
|
2021-07-24 20:14:37 +00:00
|
|
|
/* #define JANET_NO_INTERPRETER_INTERRUPT */
|
2019-03-22 18:31:20 +00:00
|
|
|
|
2021-03-23 10:00:48 +00:00
|
|
|
/* Custom vm allocator support */
|
|
|
|
/* #include <mimalloc.h> */
|
|
|
|
/* #define janet_malloc(X) mi_malloc((X)) */
|
|
|
|
/* #define janet_realloc(X, Y) mi_realloc((X), (Y)) */
|
|
|
|
/* #define janet_calloc(X, Y) mi_calloc((X), (Y)) */
|
|
|
|
/* #define janet_free(X) mi_free((X)) */
|
|
|
|
|
2020-06-27 17:39:16 +00:00
|
|
|
/* Main client settings, does not affect library code */
|
|
|
|
/* #define JANET_SIMPLE_GETLINE */
|
|
|
|
|
2019-03-22 18:31:20 +00:00
|
|
|
#endif /* end of include guard: JANETCONF_H */
|