PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1.3.35/Lib/ruby/embed.i

#
Swig | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | 498c43ec7890ca40ee0244c1e5ceddf1 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1%wrapper %{
 2
 3#include "ruby.h"
 4
 5int
 6main(argc, argv)
 7    int argc;
 8    char **argv;
 9{
10    ruby_init();
11    ruby_options(argc, argv);
12    ruby_run();
13    return 0;
14}
15
16%}