help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best replacement for curr_sym_tab in octave 3.2


From: Joshua Redstone
Subject: Re: Best replacement for curr_sym_tab in octave 3.2
Date: Sat, 2 Jan 2010 13:58:33 -0800

It looks like the following may work:
    symbol_table::set_scope(symbol_table::top_scope());
at least, it compiles... :)
Josh

On Sat, Jan 2, 2010 at 1:50 PM, Joshua Redstone <address@hidden> wrote:
Hi,
The octave-ruby gem currently does not compile with octave 3.2.2.
It looks like the compilation errors are cause by the first line below:

....
curr_sym_tab = top_level_sym_tab;
reset_error_handler();
octave_value_list val = feval(std::string(RSTRING(function_name)->ptr), argList, 1);
..... 

The symbols curr_sym_tab and top_level_sym_tab no longer exist in /usr/include/octave.
I'm not familiar with the gem or the octave API, but wanted to get it working again.
Is there an easy replacement for the symbol table assignment line above that works in 
octave 3.2?
Thanks,
Josh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]