blob 3a0100fcfc4eb6b7a6c843d8903257b233d0ec3a 303 bytes (raw)
name: ext/raindrops/my_fileno.h # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| | #include <ruby.h>
#include <ruby/io.h>
#ifdef HAVE_RB_IO_DESCRIPTOR
# define my_fileno(io) rb_io_descriptor(io)
#else /* Ruby <3.1 */
static int my_fileno(VALUE io)
{
rb_io_t *fptr;
GetOpenFile(io, fptr);
rb_io_check_closed(fptr);
return fptr->fd;
}
#endif /* Ruby <3.1 !HAVE_RB_IO_DESCRIPTOR */
|
debug log:
solving 3a0100f ...
found 3a0100f in https://yhbt.net/raindrops.git/
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhbt.net/raindrops.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).