search for: rb_scan_arg

Displaying 3 results from an estimated 3 matches for "rb_scan_arg".

Did you mean: rb_scan_args
2004 Oct 23
0
win32-ipc, with blocks (code review please)
...INT2NUM(-(dwWait - WAIT_ABANDONED_0 + 1)); // an abandoned mutex } if(dwWait == WAIT_TIMEOUT){ return INT2NUM(0); // Timed out } return Qnil; } static VALUE ipc_wait_any(int argc, VALUE* argv, VALUE klass) { VALUE rbObject, rbTimeout; DWORD dwTimeout = INFINITE; rb_scan_args(argc,argv,"11",&rbObject,&rbTimeout); if(TYPE(rbObject)!=T_ARRAY) { rb_raise(rb_eArgError,"Invalid Object Handles"); } if(rbTimeout!=Qnil) dwTimeout = NUM2UINT(INFINITE); return wait_for_multiple(klass,rbObject,FALSE,dwTimeout); } static VALUE i...
2004 Nov 21
3
win32-file, overlapped added
Hi all, I''ve got overlapped and offset support in both nread and nwrite. The only thing left before I want to release this (as 0.4.0) is to get NO_BUFFERING to work. Unfortunately, I can''t get it to work. Park, I looked at that site you sent (and borrowed some code from it), but I don''t see anything special happening for NO_BUFFERING. I thought it required
2006 Jan 05
7
[Fwd: [win32utils-help][6822] Eventlog problem]
Dang, I thought we solved this. Any ideas? Dan PS - I realized after reading this I forgot to bump the version number for 0.3.3 - I''ve uploaded a new zip file with the correct version number. -------------- next part -------------- An embedded message was scrubbed... From: alain Fioretti <noreply at rubyforge.org> Subject: [win32utils-help][6822] Eventlog problem Date: Thu, 5