si macro macro

 获取 buf 里的 symbol 

cbuf = BufListCount()
msg(cbuf)
ibuf = 0
while (ibuf < cbuf)
{
    hbuf = BufListItem(ibuf)
    isymMax = GetBufSymCount(hbuf)
    msg(isymMax)
    isym = 0
    while (isym < isymMax)
    {
        symname = GetBufSymLocation(hbuf, isym)
        msg(symname)
        isym = isym + 1
    }
    ibuf = ibuf + 1
}

 

posted @ 2017-04-06 10:08  fish7  阅读(168)  评论(0编辑  收藏  举报