Displaying 3 results from an estimated 3 matches for "int2fix".
Did you mean:
infix
2004 Nov 16
0
Re: Win32, file descriptors and rb
...argument. It
> compiles fine, and I don''t get any warnings, but it simply doesn''t seem
> to write anything to a file when I tried.
>
> See my note on the ML for more details.
>
Use this code instead of case:
if(dwAccess & FILE_ALL_ACCESS)
args[1] = INT2FIX(O_RDWR);
else if(dwAccess & GENERIC_READ)
args[1] = INT2FIX(O_RDONLY);
else if(dwAccess & GENERIC_WRITE)
args[1] = INT2FIX(O_WRONLY);
else if(dwAccess)
args[1] = INT2FIX(0);
Regards,
Park Heesob
--MIME Multi-part separator--
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
Hi, David.
I have recently fixed ferret C sources and successfully compile extension
with MSVC.Net The problem was that MS compiler is more stricter that GCC and
require that all variables were declared before using. There was ~30 such
declaration. I have fixed them all.
But I am not sure that it works because tests failed with following error
both on clean and patched versions. So seems that it
2011 Jan 05
0
Fwd: Review of libguestfs ruby bindings
...That is essentially never going to happen on 64-bit, but with a
fragmented enough 32-bit address space it could save NULL being returned. Very
minor though, up to you if you want to change it.
2) INT2NUM and NUM2INT are used frequently. These are good, and should always
be used in favor of the INT2FIX and FIX2INT counterparts.
3) Missing RDoc markups. While you have an rdoc task in the Rakefile, I don't
think it will generate very much because you are missing the markups for it.
You can look at ruby-libvirt for a lot of examples of this, but a simple one
is:
/*
* call-seq: g.launch ->...