-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ext/objspace/objspace.c (ObjectSpace.reachable_objects_from):
internal object support. If given object `obj' has references to internal objects (such as T_NODE objects), then this method returns instances of `ObjectSpace::InternalObjectWrapper' instead of that internal objects. This instance contains a refereance to an internal object and you can check the type of internal object using `ObjectSpace::InternalObjectWrapper#type' method. Rdoc of `InternalObjectWrapper' is not prepared yet. * gc.c (rb_objspace_reachable_objects_from), gc.h: change an interface of 'rb_objspace_reachable_objects_from()' * gc.c, gc.h: add two APIs - rb_objspace_markable_object_p(obj): check markable or not. - rb_objspace_internal_object_p(obj): check internal or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
Showing
4 changed files
with
174 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
Wed Oct 24 08:55:04 2012 Koichi Sasada <[email protected]> | ||
|
||
* ext/objspace/objspace.c (ObjectSpace.reachable_objects_from): | ||
internal object support. | ||
If given object `obj' has references to internal objects | ||
(such as T_NODE objects), then this method returns instances of | ||
`ObjectSpace::InternalObjectWrapper' instead of that internal objects. | ||
This instance contains a refereance to an internal object and you can | ||
check the type of internal object using | ||
`ObjectSpace::InternalObjectWrapper#type' method. | ||
Rdoc of `InternalObjectWrapper' is not prepared yet. | ||
|
||
* gc.c (rb_objspace_reachable_objects_from), gc.h: change | ||
an interface of 'rb_objspace_reachable_objects_from()' | ||
|
||
* gc.c, gc.h: add two APIs | ||
- rb_objspace_markable_object_p(obj): check markable or not. | ||
- rb_objspace_internal_object_p(obj): check internal or not. | ||
|
||
Wed Oct 24 05:52:36 2012 Koichi Sasada <[email protected]> | ||
|
||
* vm_insnhelper.c (vm_call_method): remove `default' and | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters