#ifndef YARP_EXT_NODE_H #define YARP_EXT_NODE_H #include #include #include "yarp.h" // The following headers are necessary to read files using demand paging. #ifdef _WIN32 #include #else #include #include #include #include #endif #define EXPECTED_YARP_VERSION "0.4.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); void Init_yarp_pack(void); YP_EXPORTED_FUNCTION void Init_yarp(void); #endif