#ifndef YARP_EXT_NODE_H #define YARP_EXT_NODE_H #include #include #include "yarp.h" #include #ifdef _WIN32 #include #else #include #include #include #endif #define EXPECTED_YARP_VERSION "0.4.0" VALUE yp_token_new(yp_parser_t *parser, yp_token_t *token, rb_encoding *encoding); VALUE yp_ast_new(yp_parser_t *parser, yp_node_t *node, rb_encoding *encoding); VALUE yp_compile(yp_node_t *node); void Init_yarp_pack(void); YP_EXPORTED_FUNCTION void Init_yarp(void); #define DISCARD_CONST_QUAL(t, v) ((t)(uintptr_t)(v)) #endif // YARP_EXT_NODE_H