# typeslots.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.13.2/src/ffi/typeslots.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84

    use std::os::raw::c_int;

    #[cfg(not(Py_LIMITED_API))]
    pub const Py_bf_getbuffer: c_int = 1;
    #[cfg(not(Py_LIMITED_API))]
    pub const Py_bf_releasebuffer: c_int = 2;
    pub const Py_mp_ass_subscript: c_int = 3;
    pub const Py_mp_length: c_int = 4;
    pub const Py_mp_subscript: c_int = 5;
    pub const Py_nb_absolute: c_int = 6;
    pub const Py_nb_add: c_int = 7;
    pub const Py_nb_and: c_int = 8;
    pub const Py_nb_bool: c_int = 9;
    pub const Py_nb_divmod: c_int = 10;
    pub const Py_nb_float: c_int = 11;
    pub const Py_nb_floor_divide: c_int = 12;
    pub const Py_nb_index: c_int = 13;
    pub const Py_nb_inplace_add: c_int = 14;
    pub const Py_nb_inplace_and: c_int = 15;
    pub const Py_nb_inplace_floor_divide: c_int = 16;
    pub const Py_nb_inplace_lshift: c_int = 17;
    pub const Py_nb_inplace_multiply: c_int = 18;
    pub const Py_nb_inplace_or: c_int = 19;
    pub const Py_nb_inplace_power: c_int = 20;
    pub const Py_nb_inplace_remainder: c_int = 21;
    pub const Py_nb_inplace_rshift: c_int = 22;
    pub const Py_nb_inplace_subtract: c_int = 23;
    pub const Py_nb_inplace_true_divide: c_int = 24;
    pub const Py_nb_inplace_xor: c_int = 25;
    pub const Py_nb_int: c_int = 26;
    pub const Py_nb_invert: c_int = 27;
    pub const Py_nb_lshift: c_int = 28;
    pub const Py_nb_multiply: c_int = 29;
    pub const Py_nb_negative: c_int = 30;
    pub const Py_nb_or: c_int = 31;
    pub const Py_nb_positive: c_int = 32;
    pub const Py_nb_power: c_int = 33;
    pub const Py_nb_remainder: c_int = 34;
    pub const Py_nb_rshift: c_int = 35;
    pub const Py_nb_subtract: c_int = 36;
    pub const Py_nb_true_divide: c_int = 37;
    pub const Py_nb_xor: c_int = 38;
    pub const Py_sq_ass_item: c_int = 39;
    pub const Py_sq_concat: c_int = 40;
    pub const Py_sq_contains: c_int = 41;
    pub const Py_sq_inplace_concat: c_int = 42;
    pub const Py_sq_inplace_repeat: c_int = 43;
    pub const Py_sq_item: c_int = 44;
    pub const Py_sq_length: c_int = 45;
    pub const Py_sq_repeat: c_int = 46;
    pub const Py_tp_alloc: c_int = 47;
    pub const Py_tp_base: c_int = 48;
    pub const Py_tp_bases: c_int = 49;
    pub const Py_tp_call: c_int = 50;
    pub const Py_tp_clear: c_int = 51;
    pub const Py_tp_dealloc: c_int = 52;
    pub const Py_tp_del: c_int = 53;
    pub const Py_tp_descr_get: c_int = 54;
    pub const Py_tp_descr_set: c_int = 55;
    pub const Py_tp_doc: c_int = 56;
    pub const Py_tp_getattr: c_int = 57;
    pub const Py_tp_getattro: c_int = 58;
    pub const Py_tp_hash: c_int = 59;
    pub const Py_tp_init: c_int = 60;
    pub const Py_tp_is_gc: c_int = 61;
    pub const Py_tp_iter: c_int = 62;
    pub const Py_tp_iternext: c_int = 63;
    pub const Py_tp_methods: c_int = 64;
    pub const Py_tp_new: c_int = 65;
    pub const Py_tp_repr: c_int = 66;
    pub const Py_tp_richcompare: c_int = 67;
    pub const Py_tp_setattr: c_int = 68;
    pub const Py_tp_setattro: c_int = 69;
    pub const Py_tp_str: c_int = 70;
    pub const Py_tp_traverse: c_int = 71;
    pub const Py_tp_members: c_int = 72;
    pub const Py_tp_getset: c_int = 73;
    pub const Py_tp_free: c_int = 74;
    pub const Py_nb_matrix_multiply: c_int = 75;
    pub const Py_nb_inplace_matrix_multiply: c_int = 76;
    pub const Py_am_await: c_int = 77;
    pub const Py_am_aiter: c_int = 78;
    pub const Py_am_anext: c_int = 79;
    pub const Py_tp_finalize: c_int = 80;