We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RUBY
1 parent 9001d54 commit ba0bcc5Copy full SHA for ba0bcc5
st.c
@@ -342,7 +342,7 @@ get_power2(st_index_t size)
342
unsigned int n = ST_INDEX_BITS - nlz_intptr(size);
343
if (n <= MAX_POWER2)
344
return n < MINIMAL_POWER2 ? MINIMAL_POWER2 : n;
345
-#ifndef NOT_RUBY
+#ifdef RUBY
346
/* Ran out of the table entries */
347
rb_raise(rb_eRuntimeError, "st_table too big");
348
#endif
0 commit comments