search for: rb_define_singleton_method

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

2006 Jan 16
0
PGconn class doesn''t recognize all the function export from postgres.so
Hi, I''m trying to write a new postgresql adapter which interited the old postgres adapter and I try to use the PGconn class, But I find out I can''t access to some of the exported functions in postgres.so (I''m using LINUX) In fact, only the methode export with rb_define_singleton_method can be used, only function s exported with rb_define_method, the PGconn ruby class doesn''t recognise it as the function. when I export all the methods name of PGconn class, I can only see the methods exported with rb_define_singleton_method. Can someone know why???? Thanks you very much...
2004 Apr 29
3
win32-ipc bug?
Either I''ve been up too late, or the timeout value passed to Ipc.new isn''t actually saved anywhere. Am I wrong? Anyway, I''ve added docs and a test suite for win32-ipc. Feel free to take a look and make sure there aren''t any glaring errors. Thanks. Dan PS - I''m hoping to release win32-event 0.2.0 and win32-ipc 0.1.0 this weekend unless there are
2004 Oct 23
0
win32-ipc, with blocks (code review please)
...Classes */ mWin32 = rb_define_module("Win32"); cIpc = rb_define_class_under(mWin32, "Ipc", rb_cObject); cIpcError = rb_define_class_under(mWin32,"IpcError",rb_eStandardError); // IPC class and instance methods rb_define_alloc_func(cIpc,ipc_allocate); rb_define_singleton_method(cIpc,"wait_any",ipc_wait_any,-1); rb_define_singleton_method(cIpc,"wait_all",ipc_wait_all,-1); rb_define_method(cIpc,"initialize",ipc_init,1); rb_define_method(cIpc,"wait",ipc_wait,-1); // Constants rb_define_const(cIpc,"INFINITE",U...
2007 Feb 22
4
Ferret progress update
Hi folks, Just thought I better let you all know that I''m still working on the next release of Ferret. I''ve been working the last 7 days doing nothing but Ferret development. The last iteration generated a diff of almost 5000 lines so there are some pretty major changes. Most people won''t notice these changes however as the API remains unchanged. But if you were having
2003 Nov 13
7
modified classes
-- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+ -------------- next part -------------- A non-text attachment was scrubbed... Name: