mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
More enums are mandatory for rp in lldb_cruby.py
This commit is contained in:
parent
7c88bb3eba
commit
fefb5fafbc
4 changed files with 7 additions and 3 deletions
4
debug.c
4
debug.c
|
@ -48,10 +48,14 @@ const union {
|
|||
enum ruby_encoding_consts encoding_consts;
|
||||
enum ruby_coderange_type enc_coderange_types;
|
||||
enum ruby_econv_flag_type econv_flag_types;
|
||||
rb_econv_result_t econv_result;
|
||||
enum ruby_robject_flags robject_flags;
|
||||
enum ruby_robject_consts robject_consts;
|
||||
enum ruby_rmodule_flags rmodule_flags;
|
||||
enum ruby_rstring_flags rstring_flags;
|
||||
enum ruby_rstring_consts rstring_consts;
|
||||
enum ruby_rarray_flags rarray_flags;
|
||||
enum ruby_rarray_consts rarray_consts;
|
||||
enum {
|
||||
RUBY_FMODE_READABLE = FMODE_READABLE,
|
||||
RUBY_FMODE_WRITABLE = FMODE_WRITABLE,
|
||||
|
|
|
@ -79,7 +79,7 @@ enum ruby_rarray_flags {
|
|||
#endif
|
||||
};
|
||||
|
||||
enum {
|
||||
enum ruby_rarray_consts {
|
||||
RARRAY_EMBED_LEN_SHIFT = RUBY_FL_USHIFT + 3,
|
||||
RARRAY_EMBED_LEN_MAX = RUBY3_EMBED_LEN_MAX_OF(VALUE)
|
||||
};
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
enum ruby_robject_flags { ROBJECT_EMBED = RUBY_FL_USER1 };
|
||||
|
||||
enum { ROBJECT_EMBED_LEN_MAX = RUBY3_EMBED_LEN_MAX_OF(VALUE) };
|
||||
enum ruby_robject_consts { ROBJECT_EMBED_LEN_MAX = RUBY3_EMBED_LEN_MAX_OF(VALUE) };
|
||||
|
||||
struct RObject {
|
||||
struct RBasic basic;
|
||||
|
|
|
@ -65,7 +65,7 @@ enum ruby_rstring_flags {
|
|||
RSTRING_FSTR = RUBY_FL_USER17
|
||||
};
|
||||
|
||||
enum {
|
||||
enum ruby_rstring_consts {
|
||||
RSTRING_EMBED_LEN_SHIFT = RUBY_FL_USHIFT + 2,
|
||||
RSTRING_EMBED_LEN_MAX = RUBY3_EMBED_LEN_MAX_OF(char) - 1
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue