We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e61278 + 539597a commit f0c02daCopy full SHA for f0c02da
1 file changed
ext/rbs_extension/main.c
@@ -18,14 +18,15 @@ Init_rbs_extension(void)
18
rbs__init_location();
19
rbs__init_parser();
20
21
- // Calculated based on the number of unique strings used with the `INTERN` macro in `parser.c`.
22
- //
23
- // ```bash
24
- // grep -o 'INTERN("\([^"]*\)")' ext/rbs_extension/parser.c \
25
- // | sed 's/INTERN("\(.*\)")/\1/' \
26
- // | sort -u \
27
- // | wc -l
28
- // ```
+ /* Calculated based on the number of unique strings used with the `INTERN` macro in `parser.c`.
+ *
+ * ```bash
+ * grep -o 'INTERN("\([^"]*\)")' ext/rbs_extension/parser.c \
+ * | sed 's/INTERN("\(.*\)")/\1/' \
+ * | sort -u \
+ * | wc -l
+ * ```
29
+ */
30
const size_t num_uniquely_interned_strings = 26;
31
rbs_constant_pool_init(RBS_GLOBAL_CONSTANT_POOL, num_uniquely_interned_strings);
32
0 commit comments