Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Declares rb_raise(). More...
#include "ruby/internal/dllexport.h"
#include "ruby/internal/value.h"
#include "ruby/backward/2/attributes.h"
Go to the source code of this file.
Macros | |
#define | RB_IO_WAIT_READABLE RB_IO_WAIT_READABLE |
#define | RB_IO_WAIT_WRITABLE RB_IO_WAIT_WRITABLE |
#define | ruby_verbose (*rb_ruby_verbose_ptr()) |
#define | ruby_debug (*rb_ruby_debug_ptr()) |
Enumerations | |
enum | rb_warning_category_t { RB_WARN_CATEGORY_NONE , RB_WARN_CATEGORY_DEPRECATED , RB_WARN_CATEGORY_EXPERIMENTAL , RB_WARN_CATEGORY_ALL_BITS = 0x6 } |
enum | rb_io_wait_readwrite { RB_IO_WAIT_READABLE , RB_IO_WAIT_WRITABLE } |
Declares rb_raise().
RBIMPL
or rbimpl
are implementation details. Don't take them as canon. They could rapidly appear then vanish. The name (path) of this header file is also an implementation detail. Do not expect it to persist at the place it is now. Developers are free to move it anywhere anytime at will. __VA_ARGS__
is always available. We assume C99 for ruby itself but we don't assume languages of extension libraries. They could be written in C++98. Definition in file error.h.
#define ruby_debug (*rb_ruby_debug_ptr()) |
#define ruby_verbose (*rb_ruby_verbose_ptr()) |
enum rb_io_wait_readwrite |
void rb_exit | ( | int | status | ) |
Definition at line 4416 of file process.c.
References INT2NUM, rb_class_new_instance(), rb_eSystemExit, rb_exc_raise(), rb_str_new2, and ruby_stop().
Referenced by rb_f_abort(), rb_f_exit(), and rb_thread_kill().
void rb_iter_break | ( | void | ) |
void rb_readwrite_sys_fail | ( | enum | rb_io_wait_readwrite, |
const char * | mesg | ||
) |
Definition at line 13116 of file io.c.
References rb_readwrite_syserr_fail().
Definition at line 13122 of file io.c.
References EINPROGRESS, EWOULDBLOCK, Qnil, rb_bug(), rb_class_new_instance(), rb_exc_raise(), RB_IO_WAIT_READABLE, RB_IO_WAIT_WRITABLE, rb_mod_syserr_fail_str(), rb_mWaitReadable, rb_mWaitWritable, and rb_str_new2.
Referenced by rb_readwrite_sys_fail(), rsock_s_accept_nonblock(), and rsock_s_recvfrom_nonblock().
VALUE * rb_ruby_debug_ptr | ( | void | ) |
Definition at line 3775 of file vm.c.
References rb_ractor_struct::debug.
VALUE * rb_ruby_verbose_ptr | ( | void | ) |
Definition at line 3768 of file vm.c.
References rb_ractor_struct::verbose.