[macruby-changes] [MacRuby/MacRuby] a6b0db: add a rb_objc_retain_count() for debug.

noreply at github.com noreply at github.com
Fri May 27 01:01:50 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/MacRuby/MacRuby

Commit: a6b0db5da2500770c0d18e5e63bd4eee6713e91b
    https://github.com/MacRuby/MacRuby/commit/a6b0db5da2500770c0d18e5e63bd4eee6713e91b
Author: Watson <watson1978 at gmail.com>
Date:   2011-05-27 (Fri, 27 May 2011)

Changed paths:
  M macruby_internal.h

Log Message:
-----------
add a rb_objc_retain_count() for debug.

Example:
RoxorVM::~RoxorVM(void)
{
    printf("[deubg] ~RoxorVM : outer_stack retains = %u\n", GC_RETAIN_COUNT(outer_stack));
---- snip ----




More information about the macruby-changes mailing list