]> git.proxmox.com Git - ceph.git/blame - ceph/src/civetweb/src/third_party/duktape-1.3.0/src-separate/duk_hobject_class.c
bump version to 12.2.12-pve1
[ceph.git] / ceph / src / civetweb / src / third_party / duktape-1.3.0 / src-separate / duk_hobject_class.c
CommitLineData
7c673cae
FG
1/*
2 * Hobject Ecmascript [[Class]].
3 */
4
5#include "duk_internal.h"
6
7#if (DUK_STRIDX_UC_ARGUMENTS > 255)
8#error constant too large
9#endif
10#if (DUK_STRIDX_ARRAY > 255)
11#error constant too large
12#endif
13#if (DUK_STRIDX_UC_BOOLEAN > 255)
14#error constant too large
15#endif
16#if (DUK_STRIDX_DATE > 255)
17#error constant too large
18#endif
19#if (DUK_STRIDX_UC_ERROR > 255)
20#error constant too large
21#endif
22#if (DUK_STRIDX_UC_FUNCTION > 255)
23#error constant too large
24#endif
25#if (DUK_STRIDX_JSON > 255)
26#error constant too large
27#endif
28#if (DUK_STRIDX_MATH > 255)
29#error constant too large
30#endif
31#if (DUK_STRIDX_UC_NUMBER > 255)
32#error constant too large
33#endif
34#if (DUK_STRIDX_UC_OBJECT > 255)
35#error constant too large
36#endif
37#if (DUK_STRIDX_REG_EXP > 255)
38#error constant too large
39#endif
40#if (DUK_STRIDX_UC_STRING > 255)
41#error constant too large
42#endif
43#if (DUK_STRIDX_GLOBAL > 255)
44#error constant too large
45#endif
46#if (DUK_STRIDX_OBJ_ENV > 255)
47#error constant too large
48#endif
49#if (DUK_STRIDX_DEC_ENV > 255)
50#error constant too large
51#endif
52#if (DUK_STRIDX_UC_BUFFER > 255)
53#error constant too large
54#endif
55#if (DUK_STRIDX_UC_POINTER > 255)
56#error constant too large
57#endif
58#if (DUK_STRIDX_UC_THREAD > 255)
59#error constant too large
60#endif
61#if (DUK_STRIDX_ARRAY_BUFFER > 255)
62#error constant too large
63#endif
64#if (DUK_STRIDX_DATA_VIEW > 255)
65#error constant too large
66#endif
67#if (DUK_STRIDX_INT8_ARRAY > 255)
68#error constant too large
69#endif
70#if (DUK_STRIDX_UINT8_ARRAY > 255)
71#error constant too large
72#endif
73#if (DUK_STRIDX_UINT8_CLAMPED_ARRAY > 255)
74#error constant too large
75#endif
76#if (DUK_STRIDX_INT16_ARRAY > 255)
77#error constant too large
78#endif
79#if (DUK_STRIDX_UINT16_ARRAY > 255)
80#error constant too large
81#endif
82#if (DUK_STRIDX_INT32_ARRAY > 255)
83#error constant too large
84#endif
85#if (DUK_STRIDX_UINT32_ARRAY > 255)
86#error constant too large
87#endif
88#if (DUK_STRIDX_FLOAT32_ARRAY > 255)
89#error constant too large
90#endif
91#if (DUK_STRIDX_FLOAT64_ARRAY > 255)
92#error constant too large
93#endif
94#if (DUK_STRIDX_EMPTY_STRING > 255)
95#error constant too large
96#endif
97
98/* Note: assumes that these string indexes are 8-bit, genstrings.py must ensure that */
99DUK_INTERNAL duk_uint8_t duk_class_number_to_stridx[32] = {
100 DUK_STRIDX_EMPTY_STRING, /* UNUSED, intentionally empty */
101 DUK_STRIDX_UC_ARGUMENTS,
102 DUK_STRIDX_ARRAY,
103 DUK_STRIDX_UC_BOOLEAN,
104 DUK_STRIDX_DATE,
105 DUK_STRIDX_UC_ERROR,
106 DUK_STRIDX_UC_FUNCTION,
107 DUK_STRIDX_JSON,
108 DUK_STRIDX_MATH,
109 DUK_STRIDX_UC_NUMBER,
110 DUK_STRIDX_UC_OBJECT,
111 DUK_STRIDX_REG_EXP,
112 DUK_STRIDX_UC_STRING,
113 DUK_STRIDX_GLOBAL,
114 DUK_STRIDX_OBJ_ENV,
115 DUK_STRIDX_DEC_ENV,
116 DUK_STRIDX_UC_BUFFER,
117 DUK_STRIDX_UC_POINTER,
118 DUK_STRIDX_UC_THREAD,
119 DUK_STRIDX_ARRAY_BUFFER,
120 DUK_STRIDX_DATA_VIEW,
121 DUK_STRIDX_INT8_ARRAY,
122 DUK_STRIDX_UINT8_ARRAY,
123 DUK_STRIDX_UINT8_CLAMPED_ARRAY,
124 DUK_STRIDX_INT16_ARRAY,
125 DUK_STRIDX_UINT16_ARRAY,
126 DUK_STRIDX_INT32_ARRAY,
127 DUK_STRIDX_UINT32_ARRAY,
128 DUK_STRIDX_FLOAT32_ARRAY,
129 DUK_STRIDX_FLOAT64_ARRAY,
130 DUK_STRIDX_EMPTY_STRING, /* UNUSED, intentionally empty */
131 DUK_STRIDX_EMPTY_STRING, /* UNUSED, intentionally empty */
132};