From: Dave Thomas Date: 2008-01-08T13:22:01+09:00 Subject: Re: Embedding 1.9 On Jan 7, 2008, at 9:36 PM, Yukihiro Matsumoto wrote: > > Perhaps "authoritative" means "information from the original author" > but I don't remember I wrote such document (sigh). > > Basically, you have to call: > > ruby_sysinit() for command line argument initialization (optional) > RUBY_INIT_STACK() for GC stack initialization > ruby_init() for ruby interpreter initialization > > and wrap ruby calls with rb_protect() for initialize exception frame. > You can load Ruby programs with rb_load(). You can call ruby programs > from string via rb_eval_string(). In 1.9, do we also now need to call set_locale()? Dave