ruby/ext/psych/psych_yaml_tree.c

13 строки
394 B
C

#include <psych.h>
VALUE cPsychVisitorsYamlTree;
void Init_psych_yaml_tree(void)
{
VALUE psych = rb_define_module("Psych");
VALUE visitors = rb_define_module_under(psych, "Visitors");
VALUE visitor = rb_define_class_under(visitors, "Visitor", rb_cObject);
cPsychVisitorsYamlTree = rb_define_class_under(visitors, "YAMLTree", visitor);
}
/* vim: set noet sws=4 sw=4: */