Mailinglist Archive: yast-devel (80 mails)

< Previous Next >
Re: [yast-devel] Ruby-bindings and exception - first implementation
Hi,
I just implement first version of handling of exception. It is now just
in svn. example of usage is in [0] with code in [1].
I welcome any comments or suggestion how to improve it.

Josef

P.S. As bonus as fix one memory leak which happen when exception will
be risen ( now because yast cause on uninitialized value it not shown )
[2]

[0]
http://svn.opensuse.org/svn/yast/trunk/ruby-bindings/tests/ycp/ruby_from_ycp.ycp
[1]
http://svn.opensuse.org/svn/yast/trunk/ruby-bindings/tests/ycp/InRuby.rb
[2]
http://svn.opensuse.org/viewvc/yast/trunk/ruby-bindings/src/ruby/YRuby.cc?r1=67452&r2=67451&pathrev=67452
--
Josef Reidinger
Software Engineer Appliance Department

SUSE LINUX, s. r. o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic

jreidinger@xxxxxxxx
SUSE
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
References