зеркало из https://github.com/github/ruby.git
* gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.
[ruby-core:18207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
94dc1e0b4a
Коммит
bdcb8fd07e
|
@ -1,4 +1,7 @@
|
||||||
Sun Aug 10 08:15:05 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Aug 10 08:56:14 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.
|
||||||
|
[ruby-core:18207]
|
||||||
|
|
||||||
* configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
|
* configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
|
||||||
ext/digest/md5/md5.c, ext/openssl/ossl.c (main),
|
ext/digest/md5/md5.c, ext/openssl/ossl.c (main),
|
||||||
|
|
2
gc.c
2
gc.c
|
@ -815,7 +815,7 @@ ruby_get_stack_grow_direction(VALUE *addr)
|
||||||
|
|
||||||
#define GC_WATER_MARK 512
|
#define GC_WATER_MARK 512
|
||||||
|
|
||||||
int
|
size_t
|
||||||
ruby_stack_length(VALUE **p)
|
ruby_stack_length(VALUE **p)
|
||||||
{
|
{
|
||||||
rb_thread_t *th = GET_THREAD();
|
rb_thread_t *th = GET_THREAD();
|
||||||
|
|
|
@ -330,7 +330,7 @@ VALUE rb_file_directory_p(VALUE,VALUE);
|
||||||
void ruby_set_stack_size(size_t);
|
void ruby_set_stack_size(size_t);
|
||||||
NORETURN(void rb_memerror(void));
|
NORETURN(void rb_memerror(void));
|
||||||
int ruby_stack_check(void);
|
int ruby_stack_check(void);
|
||||||
int ruby_stack_length(VALUE**);
|
size_t ruby_stack_length(VALUE**);
|
||||||
int rb_during_gc(void);
|
int rb_during_gc(void);
|
||||||
void rb_gc_mark_locations(VALUE*, VALUE*);
|
void rb_gc_mark_locations(VALUE*, VALUE*);
|
||||||
void rb_mark_tbl(struct st_table*);
|
void rb_mark_tbl(struct st_table*);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче