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
关于全局对象的解构函数,代码大概是这样写的:
resource = wl_resource_create(client, &wl_output_interface, version, id); if (!resource) { wl_client_post_no_memory(client); return; } wl_resource_set_implementation(resource, &wl_output_impl, 0, wl_resource_destroy_func);
所以原文中描述的
This function is also passed into wl_resource_create as the destructor
wl_resource_create
应当为 wl_resource_set_implementation
wl_resource_set_implementation
不知道理解对不对💫
The text was updated successfully, but these errors were encountered:
No branches or pull requests
关于全局对象的解构函数,代码大概是这样写的:
所以原文中描述的
应当为
wl_resource_set_implementation
不知道理解对不对💫
The text was updated successfully, but these errors were encountered: