Skip to content

对 sh_hub_get_prev_func 函数DEBUG日志的疑问 #24

Answered by caikelun
Knight-ZXW asked this question in Q&A
Discussion options

You must be logged in to vote

这里确实可能引起混淆。
SLIST是个单向链表,新的proxy函数被添加到链表头部,log中的next只是表示链表中当前节点的下一个(next)节点。
如果按照proxy函数注册到SLIST中的顺序来说,这里确实是return prev enabled proxy的意思。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Knight-ZXW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants