ext/yarp/extension.h in yarp-0.10.0 vs ext/yarp/extension.h in yarp-0.11.0

- old
+ new

@@ -1,14 +1,14 @@ #ifndef YARP_EXT_NODE_H #define YARP_EXT_NODE_H -#define EXPECTED_YARP_VERSION "0.10.0" +#define EXPECTED_YARP_VERSION "0.11.0" #include <ruby.h> #include <ruby/encoding.h> #include "yarp.h" -VALUE yp_source_new(yp_parser_t *parser); +VALUE yp_source_new(yp_parser_t *parser, rb_encoding *encoding); 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); void Init_yarp_api_node(void); void Init_yarp_pack(void);