Skip to content

Commit

Permalink
Export symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Apr 26, 2023
1 parent 6ed1d22 commit d668e74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/parse.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,14 @@ typedef struct rb_parser_config_struct {

} rb_parser_config_t;

RUBY_SYMBOL_EXPORT_BEGIN
rb_parser_config_t *rb_ruby_parser_config_new(void *(*malloc)(size_t size));
void rb_ruby_parser_free(void *ptr);
void rb_ruby_parser_config_free(rb_parser_config_t *config);

rb_parser_t *rb_ruby_parser_new(rb_parser_config_t *config);
rb_ast_t* rb_ruby_parser_compile_string(rb_parser_t *p, const char *f, VALUE s, int line);
RUBY_SYMBOL_EXPORT_END

#undef rb_encoding
#undef OnigCodePoint
Expand Down

0 comments on commit d668e74

Please sign in to comment.