例子将示范如何给你的函数指针传递附加参数。
This will show how to pass additional parameters to your handler function.
它将工作包id(组件ID)和一个指针传递给工作流变量。
It passes the work package ID (component ID), plus a pointer, to workflow variables.
然后,当通过free将该指针传递回来时,我们只需要倒退几个内存字节就可以再次找到这个结构。
Then, when they pass the pointer back via free , we simply back up a few memory bytes to find this structure again.
应用推荐