File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 55#include <stdint.h>
66#include <string.h>
77
8- #ifdef _MSC_VER
9-
10- /*
11- * Compiler-specific macros relevant for Microsoft Visual C/C++ Compiler.
12- */
13- #define JERRY_ATTR_DEPRECATED __declspec(deprecated)
14- #define JERRY_ATTR_NOINLINE __declspec(noinline)
15- #define JERRY_ATTR_NORETURN __declspec(noreturn)
16-
17- /*
18- * Microsoft Visual C/C++ Compiler doesn't support for VLA, using _alloca
19- * instead.
20- */
21- void * __cdecl _alloca (size_t _Size );
22- #define JERRY_VLA (type , name , size ) type *name = (type *)(_alloca(sizeof(type) * (size)))
23-
24- #endif /* _MSC_VER */
25-
26- /**
27- * Helper to declare (or mimic) a C99 variable-length array.
28- */
29- #ifndef JERRY_VLA
30- #define JERRY_VLA (type , name , size ) type name[size]
31- #endif /* !JERRY_VLA */
32-
338typedef enum
349{
3510 CPJ_ITERATOR_STATE_ONE_DOT ,
You can’t perform that action at this time.
0 commit comments