sp对象引用计数打印

sp outBuffer;
printf("tag,refcount=%d,function=%s:%d\n",
outBuffer->getStrongCount(),__FUNCTION__,__LINE__);

你可能感兴趣的:(sp对象引用计数打印)