ext/nyara.c in nyara-0.0.1.pre.3 vs ext/nyara.c in nyara-0.0.1.pre.4
- old
+ new
@@ -18,9 +18,11 @@
void Init_nyara() {
set_fd_limit(20000);
VALUE nyara = rb_define_module("Nyara");
+# include "inc/version.inc"
+ rb_const_set(nyara, rb_intern("VERSION"), rb_str_new2(NYARA_VERSION));
// utils: hashes
Init_hashes(nyara);
// utils: method map