ext/yarp/extension.h in yarp-0.8.0 vs ext/yarp/extension.h in yarp-0.9.0
- old
+ new
@@ -1,12 +1,12 @@
#ifndef YARP_EXT_NODE_H
#define YARP_EXT_NODE_H
+#define EXPECTED_YARP_VERSION "0.9.0"
+
#include <ruby.h>
#include <ruby/encoding.h>
#include "yarp.h"
-
-#define EXPECTED_YARP_VERSION "0.8.0"
VALUE yp_source_new(yp_parser_t *parser);
VALUE yp_token_new(yp_parser_t *parser, yp_token_t *token, rb_encoding *encoding, VALUE source);
VALUE yp_ast_new(yp_parser_t *parser, yp_node_t *node, rb_encoding *encoding);