tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

js-config.h.in (2235B)


      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 /* Define to 1 if SpiderMonkey is in 64-bit mode. */
     19 #undef JS_64BIT
     20 
     21 /*
     22  * NB: We have a special case for rust-bindgen, which wants to be able to
     23  * generate both debug and release bindings on a single objdir.
     24  */
     25 #ifdef JS_DEBUG
     26 #if !defined(DEBUG) && !defined(RUST_BINDGEN)
     27 #  error "SpiderMonkey was configured with --enable-debug, so DEBUG must be defined when including this header"
     28 # endif
     29 #else
     30 # if defined(DEBUG) && !defined(RUST_BINDGEN)
     31 #  error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
     32 # endif
     33 #endif
     34 
     35 /* Define to 1 if SpiderMonkey should include ctypes support.  */
     36 #undef JS_HAS_CTYPES
     37 
     38 /* Define to 1 if SpiderMonkey should include trace logging support. */
     39 #undef JS_TRACE_LOGGING
     40 
     41 /* Define to 1 if SpiderMonkey should include support for the Intl API. */
     42 #undef JS_HAS_INTL_API
     43 
     44 /* Define to 1 if SpiderMonkey should include a breakpoint function for
     45  * artificial OOMs. */
     46 #undef JS_OOM_BREAKPOINT
     47 
     48 /* Define to 1 if SpiderMonkey should support the ability to perform
     49    entirely too much GC.  */
     50 #undef JS_GC_ZEAL
     51 
     52 /* Define to 1 to perform extra assertions and heap poisoning. */
     53 #undef JS_CRASH_DIAGNOSTICS
     54 
     55 /* Define to 1 if SpiderMonkey is in NUNBOX32 mode. */
     56 #undef JS_NUNBOX32
     57 
     58 /* Define to 1 if SpiderMonkey is in PUNBOX64 mode. */
     59 #undef JS_PUNBOX64
     60 
     61 /* Experimental WASM features */
     62 #undef ENABLE_WASM_EXCEPTIONS
     63 #undef ENABLE_WASM_FUNCTION_REFERENCES
     64 #undef ENABLE_WASM_GC
     65 #undef ENABLE_WASM_SIMD
     66 
     67 /* MOZILLA JSAPI version number components */
     68 #undef MOZJS_MAJOR_VERSION
     69 #undef MOZJS_MINOR_VERSION
     70 
     71 #endif /* js_config_h */