mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Revert accidental commit of printf-debugging code in the test plugin.
This commit is contained in:
parent
2d9e19df05
commit
21fc0c7806
@ -247,28 +247,10 @@ NPP_SetWindow(NPP instance, NPWindow* window)
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
static intptr_t gStreamCounter = 0;
|
||||
|
||||
NPError
|
||||
NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype)
|
||||
{
|
||||
*stype = NP_NORMAL;
|
||||
|
||||
stream->pdata = reinterpret_cast<void*>(gStreamCounter++);
|
||||
|
||||
printf("x-test-ipc:NPP_NewStream(NPP:%p, type:%s, stream:%p, seekable:%i)\n"
|
||||
" {pdata:%i\n"
|
||||
" url:%s,\n"
|
||||
" end:%i,\n"
|
||||
" lastmodified:%i,\n"
|
||||
" notifyData:%p,\n"
|
||||
" headers:%s\n"
|
||||
" }\n",
|
||||
instance, type, stream, seekable,
|
||||
reinterpret_cast<intptr_t>(stream->pdata),
|
||||
stream->url, stream->end, stream->lastmodified, stream->notifyData,
|
||||
stream->headers);
|
||||
|
||||
*stype = NP_ASFILEONLY;
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user