ext/curb.h in taf2-curb-0.2.8.0 vs ext/curb.h in taf2-curb-0.3.0.0
- old
+ new
@@ -18,20 +18,23 @@
#include "curb_multi.h"
#include "curb_macros.h"
// These should be managed from the Rake 'release' task.
-#define CURB_VERSION "0.2.8.0"
-#define CURB_VER_NUM 280
+#define CURB_VERSION "0.3.0.0"
+#define CURB_VER_NUM 300
#define CURB_VER_MAJ 0
-#define CURB_VER_MIN 2
-#define CURB_VER_MIC 8
+#define CURB_VER_MIN 3
+#define CURB_VER_MIC 0
#define CURB_VER_PATCH 0
// Maybe not yet defined in Ruby
#ifndef RSTRING_LEN
#define RSTRING_LEN(x) RSTRING(x)->len
+#endif
+#ifndef RSTRING_PTR
+#define RSTRING_PTR(x) RSTRING(x)->ptr
#endif
#ifdef HAVE_RUBY19_HASH
#define RHASH_LEN(hash) RHASH(hash)->ntbl->num_entries
#else