X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=pcre3.git;a=blobdiff_plain;f=sljit%2FsljitConfig.h;fp=sljit%2FsljitConfig.h;h=1c8a521aa890d2ddb360df81ee87c69e913b5d57;hp=4d93f4f78cc48034b97c565938295ccff6ad7f2c;hb=86ef59c527b0015060b75bf41698f0310bb1ef72;hpb=519a17c5e5fa25f6abb42e289fdcd4a5e769ea4b 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