compile.c (struct ibf_object_*): Use FLEX_ARY_LEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb4b6f70b7
commit
c33ba4a67e
@ -8786,7 +8786,7 @@ enum ibf_object_class_index {
|
|||||||
struct ibf_object_string {
|
struct ibf_object_string {
|
||||||
long encindex;
|
long encindex;
|
||||||
long len;
|
long len;
|
||||||
char ptr[1];
|
char ptr[FLEX_ARY_LEN];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ibf_object_regexp {
|
struct ibf_object_regexp {
|
||||||
@ -8796,12 +8796,12 @@ struct ibf_object_regexp {
|
|||||||
|
|
||||||
struct ibf_object_array {
|
struct ibf_object_array {
|
||||||
long len;
|
long len;
|
||||||
long ary[1];
|
long ary[FLEX_ARY_LEN];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ibf_object_hash {
|
struct ibf_object_hash {
|
||||||
long len;
|
long len;
|
||||||
long keyval[1];
|
long keyval[FLEX_ARY_LEN];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ibf_object_struct_range {
|
struct ibf_object_struct_range {
|
||||||
@ -8814,7 +8814,7 @@ struct ibf_object_struct_range {
|
|||||||
|
|
||||||
struct ibf_object_bignum {
|
struct ibf_object_bignum {
|
||||||
ssize_t slen;
|
ssize_t slen;
|
||||||
BDIGIT digits[1];
|
BDIGIT digits[FLEX_ARY_LEN];
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ibf_object_data_type {
|
enum ibf_object_data_type {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user