Source code

Revision control

Other Tools

1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2
* vim: set ts=8 sw=4 et tw=78:
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7
8
#ifndef js_config_h
9
#define js_config_h
10
11
/* Definitions set at build time that affect SpiderMonkey's public API.
12
This header file is generated by the SpiderMonkey configure script,
13
and installed along with jsapi.h. */
14
15
/* Define to 1 if SpiderMonkey is in debug mode. */
16
#undef JS_DEBUG
17
18
/*
19
* NB: We have a special case for rust-bindgen, which wants to be able to
20
* generate both debug and release bindings on a single objdir.
21
*/
22
#ifdef JS_DEBUG
23
#if !defined(DEBUG) && !defined(RUST_BINDGEN)
24
# error "SpiderMonkey was configured with --enable-debug, so DEBUG must be defined when including this header"
25
# endif
26
#else
27
# if defined(DEBUG) && !defined(RUST_BINDGEN)
28
# error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
29
# endif
30
#endif
31
32
/* Define to 1 if SpiderMonkey should not use struct types in debug builds. */
33
#undef JS_NO_JSVAL_JSID_STRUCT_TYPES
34
35
/* Define to 1 if SpiderMonkey should support multi-threaded clients. */
36
#undef JS_THREADSAFE
37
38
/* Define to 1 if SpiderMonkey should include ctypes support. */
39
#undef JS_HAS_CTYPES
40
41
/* Define to 1 if SpiderMonkey should support the ability to perform
42
entirely too much GC. */
43
#undef JS_GC_ZEAL
44
45
/* Define to 1 if SpiderMonkey should use small chunks. */
46
#undef JS_GC_SMALL_CHUNK_SIZE
47
48
/* Define to 1 to perform extra assertions and heap poisoning. */
49
#undef JS_CRASH_DIAGNOSTICS
50
51
/* Define to 1 if SpiderMonkey is in NUNBOX32 mode. */
52
#undef JS_NUNBOX32
53
54
/* Define to 1 if SpiderMonkey is in PUNBOX64 mode. */
55
#undef JS_PUNBOX64
56
57
/* MOZILLA JSAPI version number components */
58
#undef MOZJS_MAJOR_VERSION
59
#undef MOZJS_MINOR_VERSION
60
61
#endif /* js_config_h */