ruby/ext/psych/psych_yaml_tree.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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: */