Sha256: 3eb8abf5fb479b56d5c3c8a3ee86dad43d2f0712d6165ca7f2148e7088e0f57f

Contents?: true

Size: 609 Bytes

Versions: 1

Compression:

Stored size: 609 Bytes

Contents

#ifndef PRISM_EXT_NODE_H
#define PRISM_EXT_NODE_H

#define EXPECTED_PRISM_VERSION "0.26.0"

#include <ruby.h>
#include <ruby/encoding.h>
#include "prism.h"

VALUE pm_source_new(const pm_parser_t *parser, rb_encoding *encoding);
VALUE pm_token_new(const pm_parser_t *parser, const pm_token_t *token, rb_encoding *encoding, VALUE source);
VALUE pm_ast_new(const pm_parser_t *parser, const pm_node_t *node, rb_encoding *encoding, VALUE source);
VALUE pm_integer_new(const pm_integer_t *integer);

void Init_prism_api_node(void);
void Init_prism_pack(void);
PRISM_EXPORTED_FUNCTION void Init_prism(void);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prism-0.26.0 ext/prism/extension.h