search for: rb_class_new_instance

Displaying 5 results from an estimated 5 matches for "rb_class_new_instance".

2006 Nov 12
0
[ wxruby-Bugs-6632 ] Linux crash on NoteBook in bigdemo.rb
...gv=0xbf81aa5c, body=0xb56da7d0, flags=2) at eval.c:5954 #9 0x0805e521 in rb_call (klass=3043849040, recv=3043848000, mid=2953, argc=3, argv=0xbf81aa50, scope=1) at eval.c:6048 #10 0x0805e798 in rb_obj_call_init (obj=3043848000, argc=3, argv=0xbf81aa50) at eval.c:7529 #11 0x08084eaa in rb_class_new_instance (argc=3, argv=0xbf81aa50, klass=3043849040) at object.c:1567 #12 0x08055146 in call_cfunc (func=0x8084e80 <rb_class_new_instance>, recv=3043849040, len=0, argc=0, argv=0xbf81aa50) at eval.c:5654 #13 0x0805d8cb in rb_call0 (klass=3085032700, recv=3043849040, id=3337, oid=3337, a...
2004 Nov 13
0
Sanity check for win32-file
...h = File.nopen("C:\\test.txt") fh.close I now get: test.rb:12:in `initialize'': Invalid argument (Errno::EINVAL) from test.rb:12:in `nopen'' Specifically, it''s failing on this in file.c: args[0] = UINT2NUM(_open_osfhandle((long)h,O_RDWR)); self = rb_class_new_instance(1,args,rb_cFile); // BOOM How could this work yesterday, and suddenly stop working today? What am I missing? Dan
2004 Nov 14
0
Sanity re-checked
Hi all, Windows 2000 VC++ 6 Well, it turns out I''m not insane. The rb_class_new_instance() chokes with RC9. However, when I rolled back to RC7, it worked fine. So, either something is broken in RC9 or this is some sort of VC6 vs VC7 issue. Can anyone else confirm? Regards, Dan
2006 Dec 07
0
Fwd: win32-service problems with patch
...so here we go - rb_raise(cDaemonError,error); + // no service to step, no service handle, no ruby + // exceptions, just terminate thread + return 1; } return 0; } static VALUE daemon_allocate(VALUE klass){ - EventHookHash = rb_hash_new(); - - thread_group = rb_class_new_instance(0, 0, - rb_const_get(rb_cObject, rb_intern("ThreadGroup"))); return Data_Wrap_Struct(klass, 0, 0, 0); } +static VALUE +daemon_mainloop_protect(VALUE self) +{ + // Call service_main method + if(rb_respond_to(self,rb_intern("service_main"))){ + rb_funcall(s...
2008 Jan 08
28
1.9.3 release, rakefile
Hi I''d like to put out a 1.9.3 release perhaps later this week/weekend. If you have a chance to test the build and samples esp with latest rubygems, please do. There are still some bugs on the list, and samples to do, but this should address all the build/install probs that have come up. And it would be good to get some testing and feedback on some of the new classes. A note on the