mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-11 11:26:47 +02:00
rename interface -> winterface
to avoid name clash on win32 Change-Id: Ia4ad3d4528df4652bab803f9a9544e21e6c4b177
This commit is contained in:
parent
5584d9d2fc
commit
25aaddc84c
@ -290,14 +290,14 @@ static WebPWorkerInterface g_worker_interface = {
|
|||||||
Init, Reset, Sync, Launch, Execute, End
|
Init, Reset, Sync, Launch, Execute, End
|
||||||
};
|
};
|
||||||
|
|
||||||
int WebPSetWorkerInterface(const WebPWorkerInterface* const interface) {
|
int WebPSetWorkerInterface(const WebPWorkerInterface* const winterface) {
|
||||||
if (interface == NULL ||
|
if (winterface == NULL ||
|
||||||
interface->Init == NULL || interface->Reset == NULL ||
|
winterface->Init == NULL || winterface->Reset == NULL ||
|
||||||
interface->Sync == NULL || interface->Launch == NULL ||
|
winterface->Sync == NULL || winterface->Launch == NULL ||
|
||||||
interface->Execute == NULL || interface->End == NULL) {
|
winterface->Execute == NULL || winterface->End == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
g_worker_interface = *interface;
|
g_worker_interface = *winterface;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user