|
1 | 1 | /* automatically generated by rust-bindgen 0.59.2 */
|
2 | 2 |
|
| 3 | +pub const INTEGER_REDEFINED_OP_FLAG: u32 = 1; |
| 4 | +pub const FLOAT_REDEFINED_OP_FLAG: u32 = 2; |
| 5 | +pub const STRING_REDEFINED_OP_FLAG: u32 = 4; |
| 6 | +pub const ARRAY_REDEFINED_OP_FLAG: u32 = 8; |
| 7 | +pub const HASH_REDEFINED_OP_FLAG: u32 = 16; |
| 8 | +pub const SYMBOL_REDEFINED_OP_FLAG: u32 = 64; |
| 9 | +pub const TIME_REDEFINED_OP_FLAG: u32 = 128; |
| 10 | +pub const REGEXP_REDEFINED_OP_FLAG: u32 = 256; |
| 11 | +pub const NIL_REDEFINED_OP_FLAG: u32 = 512; |
| 12 | +pub const TRUE_REDEFINED_OP_FLAG: u32 = 1024; |
| 13 | +pub const FALSE_REDEFINED_OP_FLAG: u32 = 2048; |
| 14 | +pub const PROC_REDEFINED_OP_FLAG: u32 = 4096; |
| 15 | +pub type __uint32_t = ::std::os::raw::c_uint; |
3 | 16 | #[repr(C)]
|
4 | 17 | pub struct RBasic {
|
5 | 18 | pub flags: VALUE,
|
@@ -40,6 +53,37 @@ extern "C" {
|
40 | 53 | extern "C" {
|
41 | 54 | pub fn rb_hash_aset(hash: VALUE, key: VALUE, val: VALUE) -> VALUE;
|
42 | 55 | }
|
| 56 | +pub const BOP_PLUS: ruby_basic_operators = 0; |
| 57 | +pub const BOP_MINUS: ruby_basic_operators = 1; |
| 58 | +pub const BOP_MULT: ruby_basic_operators = 2; |
| 59 | +pub const BOP_DIV: ruby_basic_operators = 3; |
| 60 | +pub const BOP_MOD: ruby_basic_operators = 4; |
| 61 | +pub const BOP_EQ: ruby_basic_operators = 5; |
| 62 | +pub const BOP_EQQ: ruby_basic_operators = 6; |
| 63 | +pub const BOP_LT: ruby_basic_operators = 7; |
| 64 | +pub const BOP_LE: ruby_basic_operators = 8; |
| 65 | +pub const BOP_LTLT: ruby_basic_operators = 9; |
| 66 | +pub const BOP_AREF: ruby_basic_operators = 10; |
| 67 | +pub const BOP_ASET: ruby_basic_operators = 11; |
| 68 | +pub const BOP_LENGTH: ruby_basic_operators = 12; |
| 69 | +pub const BOP_SIZE: ruby_basic_operators = 13; |
| 70 | +pub const BOP_EMPTY_P: ruby_basic_operators = 14; |
| 71 | +pub const BOP_NIL_P: ruby_basic_operators = 15; |
| 72 | +pub const BOP_SUCC: ruby_basic_operators = 16; |
| 73 | +pub const BOP_GT: ruby_basic_operators = 17; |
| 74 | +pub const BOP_GE: ruby_basic_operators = 18; |
| 75 | +pub const BOP_NOT: ruby_basic_operators = 19; |
| 76 | +pub const BOP_NEQ: ruby_basic_operators = 20; |
| 77 | +pub const BOP_MATCH: ruby_basic_operators = 21; |
| 78 | +pub const BOP_FREEZE: ruby_basic_operators = 22; |
| 79 | +pub const BOP_UMINUS: ruby_basic_operators = 23; |
| 80 | +pub const BOP_MAX: ruby_basic_operators = 24; |
| 81 | +pub const BOP_MIN: ruby_basic_operators = 25; |
| 82 | +pub const BOP_CALL: ruby_basic_operators = 26; |
| 83 | +pub const BOP_AND: ruby_basic_operators = 27; |
| 84 | +pub const BOP_OR: ruby_basic_operators = 28; |
| 85 | +pub const BOP_LAST_: ruby_basic_operators = 29; |
| 86 | +pub type ruby_basic_operators = u32; |
43 | 87 | extern "C" {
|
44 | 88 | pub fn rb_iseq_get_yjit_payload(iseq: *const rb_iseq_t) -> *mut ::std::os::raw::c_void;
|
45 | 89 | }
|
|
0 commit comments