We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block是将函数及其上下文封装起来的对象,它的结构如下所示:
struct Block_layout { void *isa; int flags; int reserved; void (*invoke)(void *, ...); //Block内部可执行的部分 struct Block_descriptor *descriptor; //Block描述 /* 捕获的上下文变量 */ }; struct Block_descriptor { unsigned long int reserved; unsigned long int size; void (*copy)(void *dst, void *src); void (*dispose)(void *); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Block是将函数及其上下文封装起来的对象,它的结构如下所示:
The text was updated successfully, but these errors were encountered: