blob: 12381317dcdeaf433b394831e4906452c6d982e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef YARP_EXT_NODE_H
#define YARP_EXT_NODE_H
#include <ruby.h>
#include <ruby/encoding.h>
#include "yarp.h"
#define EXPECTED_YARP_VERSION "0.7.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_api_node(void);
void Init_yarp_pack(void);
YP_EXPORTED_FUNCTION void Init_yarp(void);
#endif
|