fastopen: fix argument order in RDoc example
[kgio.git] / ext / kgio / blocking_io_region.h
blob30c7106d9f78db551a3d90a16ef3655b2bb4aa66
1 #ifdef HAVE_RB_THREAD_BLOCKING_REGION
2 # ifdef HAVE_RB_THREAD_IO_BLOCKING_REGION
3 /* temporary API for Ruby 1.9.3 */
4 VALUE rb_thread_io_blocking_region(rb_blocking_function_t *, void *, int);
5 # else
6 # define rb_thread_io_blocking_region(fn,data,fd) \
7 rb_thread_blocking_region((fn),(data),RUBY_UBF_IO,0)
8 # endif
9 #endif