-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenum_ruby_3_3_generated.go
59 lines (51 loc) · 2.13 KB
/
enum_ruby_3_3_generated.go
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
// THE AUTOGENERATED LICENSE. ALL THE RIGHTS ARE RESERVED BY ROBOTS.
// WARNING: This file has automatically been generated
// Code generated by ruby_h_to_go. DO NOT EDIT.
// FIXME: https://pkg.go.dev/ doesn't support custom build tag.
// Therefore, if no build tag is passed, treat it as the default tag
//go:build ruby_3_3 || !ruby_3_4
package ruby
/*
#include "ruby.h"
*/
import "C"
// RbIoWaitReadwrite is a type for passing `C.rb_io_wait_readwrite` in and out of package
type RbIoWaitReadwrite int
// RbIoWaitReadwrite enumeration
const (
RB_IO_WAIT_READABLE RbIoWaitReadwrite = C.RB_IO_WAIT_READABLE
RB_IO_WAIT_WRITABLE RbIoWaitReadwrite = C.RB_IO_WAIT_WRITABLE
)
// RubyValueType is a type for passing `C.ruby_value_type` in and out of package
type RubyValueType int
// RubyValueType enumeration
const (
RUBY_T_ARRAY RubyValueType = C.RUBY_T_ARRAY
RUBY_T_BIGNUM RubyValueType = C.RUBY_T_BIGNUM
RUBY_T_CLASS RubyValueType = C.RUBY_T_CLASS
RUBY_T_COMPLEX RubyValueType = C.RUBY_T_COMPLEX
RUBY_T_DATA RubyValueType = C.RUBY_T_DATA
RUBY_T_FALSE RubyValueType = C.RUBY_T_FALSE
RUBY_T_FILE RubyValueType = C.RUBY_T_FILE
RUBY_T_FIXNUM RubyValueType = C.RUBY_T_FIXNUM
RUBY_T_FLOAT RubyValueType = C.RUBY_T_FLOAT
RUBY_T_HASH RubyValueType = C.RUBY_T_HASH
RUBY_T_ICLASS RubyValueType = C.RUBY_T_ICLASS
RUBY_T_IMEMO RubyValueType = C.RUBY_T_IMEMO
RUBY_T_MASK RubyValueType = C.RUBY_T_MASK
RUBY_T_MATCH RubyValueType = C.RUBY_T_MATCH
RUBY_T_MODULE RubyValueType = C.RUBY_T_MODULE
RUBY_T_MOVED RubyValueType = C.RUBY_T_MOVED
RUBY_T_NIL RubyValueType = C.RUBY_T_NIL
RUBY_T_NODE RubyValueType = C.RUBY_T_NODE
RUBY_T_NONE RubyValueType = C.RUBY_T_NONE
RUBY_T_OBJECT RubyValueType = C.RUBY_T_OBJECT
RUBY_T_RATIONAL RubyValueType = C.RUBY_T_RATIONAL
RUBY_T_REGEXP RubyValueType = C.RUBY_T_REGEXP
RUBY_T_STRING RubyValueType = C.RUBY_T_STRING
RUBY_T_STRUCT RubyValueType = C.RUBY_T_STRUCT
RUBY_T_SYMBOL RubyValueType = C.RUBY_T_SYMBOL
RUBY_T_TRUE RubyValueType = C.RUBY_T_TRUE
RUBY_T_UNDEF RubyValueType = C.RUBY_T_UNDEF
RUBY_T_ZOMBIE RubyValueType = C.RUBY_T_ZOMBIE
)