ext/fiddle/conversions.h in fiddle-1.1.1 vs ext/fiddle/conversions.h in fiddle-1.1.2
- old
+ new
@@ -48,6 +48,8 @@
/* # error --->> Ruby/DL2 requires sizeof(void*) == sizeof(long) to be compiled. <<--- */
# define PTR2NUM(x) (LL2NUM((LONG_LONG)(x)))
# define NUM2PTR(x) ((void*)(NUM2ULL(x)))
#endif
+#define CBOOL2RBBOOL(cbool) ((cbool) ? RUBY_Qtrue : RUBY_Qfalse)
+
#endif