diff options
Diffstat (limited to 'sljit/sljitConfig.h')
-rw-r--r-- | sljit/sljitConfig.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sljit/sljitConfig.h b/sljit/sljitConfig.h index 4d93f4f..1c8a521 100644 --- a/sljit/sljitConfig.h +++ b/sljit/sljitConfig.h @@ -96,13 +96,28 @@ #define SLJIT_EXECUTABLE_ALLOCATOR 1 #endif +/* Force cdecl calling convention even if a better calling + convention (e.g. fastcall) is supported by the C compiler. + If this option is enabled, C functions without + SLJIT_CALL can also be called from JIT code. */ +#ifndef SLJIT_USE_CDECL_CALLING_CONVENTION +/* Disabled by default */ +#define SLJIT_USE_CDECL_CALLING_CONVENTION 0 +#endif + +/* Return with error when an invalid argument is passed. */ +#ifndef SLJIT_ARGUMENT_CHECKS +/* Disabled by default */ +#define SLJIT_ARGUMENT_CHECKS 0 +#endif + /* Debug checks (assertions, etc.). */ #ifndef SLJIT_DEBUG /* Enabled by default */ #define SLJIT_DEBUG 1 #endif -/* Verbose operations */ +/* Verbose operations. */ #ifndef SLJIT_VERBOSE /* Enabled by default */ #define SLJIT_VERBOSE 1 |