11 lines
197 B
C
11 lines
197 B
C
#include "ruby.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
ruby_init();
|
|
ruby_init_loadpath();
|
|
VALUE v = rb_eval_string("3 + 8");
|
|
printf("v: %d\n", FIX2INT(v));
|
|
return 0;
|
|
}
|