зеркало из https://github.com/github/ruby.git
Remove unneeded RUBY_FUNC_EXPORTED
This commit is contained in:
Родитель
386a006630
Коммит
df5b8ea4db
2
array.c
2
array.c
|
@ -880,7 +880,7 @@ rb_ary_free(VALUE ary)
|
|||
}
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED size_t
|
||||
size_t
|
||||
rb_ary_memsize(VALUE ary)
|
||||
{
|
||||
if (ARY_OWNS_HEAP_P(ary)) {
|
||||
|
|
2
file.c
2
file.c
|
@ -2463,7 +2463,7 @@ rb_file_ctime(VALUE obj)
|
|||
*
|
||||
*/
|
||||
|
||||
RUBY_FUNC_EXPORTED VALUE
|
||||
VALUE
|
||||
rb_file_s_birthtime(VALUE klass, VALUE fname)
|
||||
{
|
||||
statx_data st;
|
||||
|
|
2
hash.c
2
hash.c
|
@ -1600,7 +1600,7 @@ rb_hash_modify_check(VALUE hash)
|
|||
rb_check_frozen(hash);
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED struct st_table *
|
||||
struct st_table *
|
||||
rb_hash_tbl_raw(VALUE hash, const char *file, int line)
|
||||
{
|
||||
return ar_force_convert_table(hash, file, line);
|
||||
|
|
2
io.c
2
io.c
|
@ -5622,7 +5622,7 @@ rb_io_fptr_finalize(rb_io_t *fptr)
|
|||
}
|
||||
#define rb_io_fptr_finalize(fptr) rb_io_fptr_finalize_internal(fptr)
|
||||
|
||||
RUBY_FUNC_EXPORTED size_t
|
||||
size_t
|
||||
rb_io_memsize(const rb_io_t *fptr)
|
||||
{
|
||||
size_t size = sizeof(rb_io_t);
|
||||
|
|
2
shape.c
2
shape.c
|
@ -322,7 +322,7 @@ rb_shape_each_shape(each_shape_callback callback, void *data)
|
|||
}
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED rb_shape_t*
|
||||
RUBY_FUNC_EXPORTED rb_shape_t *
|
||||
rb_shape_get_shape_by_id(shape_id_t shape_id)
|
||||
{
|
||||
RUBY_ASSERT(shape_id != INVALID_SHAPE_ID);
|
||||
|
|
6
shape.h
6
shape.h
|
@ -150,12 +150,12 @@ int32_t rb_shape_id_offset(void);
|
|||
|
||||
rb_shape_t * rb_shape_get_parent(rb_shape_t * shape);
|
||||
|
||||
rb_shape_t* rb_shape_get_shape_by_id(shape_id_t shape_id);
|
||||
shape_id_t rb_shape_get_shape_id(VALUE obj);
|
||||
RUBY_FUNC_EXPORTED rb_shape_t *rb_shape_get_shape_by_id(shape_id_t shape_id);
|
||||
RUBY_FUNC_EXPORTED shape_id_t rb_shape_get_shape_id(VALUE obj);
|
||||
rb_shape_t * rb_shape_get_next_iv_shape(rb_shape_t * shape, ID id);
|
||||
bool rb_shape_get_iv_index(rb_shape_t * shape, ID id, attr_index_t * value);
|
||||
bool rb_shape_get_iv_index_with_hint(shape_id_t shape_id, ID id, attr_index_t * value, shape_id_t *shape_id_hint);
|
||||
bool rb_shape_obj_too_complex(VALUE obj);
|
||||
RUBY_FUNC_EXPORTED bool rb_shape_obj_too_complex(VALUE obj);
|
||||
|
||||
void rb_shape_set_shape(VALUE obj, rb_shape_t* shape);
|
||||
rb_shape_t* rb_shape_get_shape(VALUE obj);
|
||||
|
|
2
string.c
2
string.c
|
@ -1578,7 +1578,7 @@ rb_str_free(VALUE str)
|
|||
}
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED size_t
|
||||
size_t
|
||||
rb_str_memsize(VALUE str)
|
||||
{
|
||||
if (FL_TEST(str, STR_NOEMBED|STR_SHARED|STR_NOFREE) == STR_NOEMBED) {
|
||||
|
|
|
@ -1166,7 +1166,7 @@ rb_free_generic_ivar(VALUE obj)
|
|||
}
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED size_t
|
||||
size_t
|
||||
rb_generic_ivar_memsize(VALUE obj)
|
||||
{
|
||||
struct gen_ivtbl *ivtbl;
|
||||
|
@ -2546,7 +2546,7 @@ get_autoload_data(VALUE autoload_const_value, struct autoload_const **autoload_c
|
|||
return autoload_data;
|
||||
}
|
||||
|
||||
RUBY_FUNC_EXPORTED void
|
||||
void
|
||||
rb_autoload(VALUE module, ID name, const char *feature)
|
||||
{
|
||||
if (!feature || !*feature) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче