зеркало из https://github.com/github/ruby.git
* include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
59d945ef21
Коммит
14dfb46b5f
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jul 26 01:37:45 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* include/ruby/ruby.h: check defined(USE_RGENGC_LOGGING_WB_UNPROTECT)
|
||||||
|
|
||||||
Fri Jul 26 01:21:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
Fri Jul 26 01:21:41 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* file.c (rb_file_expand_path_internal): fix r42160; skip '~'.
|
* file.c (rb_file_expand_path_internal): fix r42160; skip '~'.
|
||||||
|
|
|
@ -1266,7 +1266,7 @@ void rb_gc_writebarrier_unprotect_promoted(VALUE obj);
|
||||||
#define OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__)
|
#define OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE *)(slot), (VALUE)(b), __FILE__, __LINE__)
|
||||||
#define OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__)
|
#define OBJ_WRITTEN(a, oldv, b) rb_obj_written((VALUE)(a), (VALUE)(oldv), (VALUE)(b), __FILE__, __LINE__)
|
||||||
|
|
||||||
#if USE_RGENGC_LOGGING_WB_UNPROTECT
|
#if defined(USE_RGENGC_LOGGING_WB_UNPROTECT) && USE_RGENGC_LOGGING_WB_UNPROTECT
|
||||||
void rb_gc_unprotect_logging(void *objptr, const char *filename, int line);
|
void rb_gc_unprotect_logging(void *objptr, const char *filename, int line);
|
||||||
#define RGENGC_LOGGING_WB_UNPROTECT rb_gc_unprotect_logging
|
#define RGENGC_LOGGING_WB_UNPROTECT rb_gc_unprotect_logging
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче