Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Embedded ruby question
Photon 2038
8/23/2006 11:30:00 AM
I am developing an application in which Ruby is embedded in a C++
program that defines some native classes and methods and then calls
ruby_exec to run some script. The script calls the C++ methods and all
works well.
Now I want to be able to examine ruby expressions inside these C++
methods. I'm trying to call rb_eval_string but that only kills my
script run.
Is there a way to do this?
btw, the expressions are simple variable queries, but not necessarily
ones that fall into one of the rb_?var_get methods (i.e. local function
vars)
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Embedded ruby question
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password