mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
[OS/2] fix up more plugin build bustage following bug 453883
(for some reason this only affects TB builds and went unnoticed until now)
This commit is contained in:
parent
4527d5d1a8
commit
bace29eb8b
@ -69,8 +69,8 @@ void NPP_Shutdown(void)
|
|||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
NPError NP_LOADDS NPP_New(NPMIMEType pluginType,
|
NPError NP_LOADDS NPP_New(NPMIMEType pluginType,
|
||||||
NPP pInstance,
|
NPP pInstance,
|
||||||
uint16 mode,
|
uint16_t mode,
|
||||||
int16 argc,
|
int16_t argc,
|
||||||
char* argn[],
|
char* argn[],
|
||||||
char* argv[],
|
char* argv[],
|
||||||
NPSavedData* saved)
|
NPSavedData* saved)
|
||||||
@ -223,9 +223,9 @@ NPError NP_LOADDS NPP_SetWindow(NPP pInstance, NPWindow * pNPWindow)
|
|||||||
NPError NP_LOADDS
|
NPError NP_LOADDS
|
||||||
NPP_NewStream(NPP pInstance,
|
NPP_NewStream(NPP pInstance,
|
||||||
NPMIMEType type,
|
NPMIMEType type,
|
||||||
NPStream *stream,
|
NPStream *stream,
|
||||||
NPBool seekable,
|
NPBool seekable,
|
||||||
uint16 *stype)
|
uint16_t *stype)
|
||||||
{
|
{
|
||||||
dbgOut1("NPP_NewStream");
|
dbgOut1("NPP_NewStream");
|
||||||
if(pInstance == NULL)
|
if(pInstance == NULL)
|
||||||
|
@ -543,7 +543,7 @@ void CPlugin::URLNotify(const char * szURL)
|
|||||||
NPN_DestroyStream(m_pNPInstance, pStream, NPRES_DONE);
|
NPN_DestroyStream(m_pNPInstance, pStream, NPRES_DONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
NPError CPlugin::newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype)
|
NPError CPlugin::newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
|
||||||
{
|
{
|
||||||
if (!m_bWaitingStreamFromPFS)
|
if (!m_bWaitingStreamFromPFS)
|
||||||
return NPERR_NO_ERROR;
|
return NPERR_NO_ERROR;
|
||||||
|
@ -96,7 +96,7 @@ public:
|
|||||||
// NP API handlers
|
// NP API handlers
|
||||||
void print(NPPrint * pNPPrint);
|
void print(NPPrint * pNPPrint);
|
||||||
void URLNotify(const char * szURL);
|
void URLNotify(const char * szURL);
|
||||||
NPError newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype);
|
NPError newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype);
|
||||||
NPError destroyStream(NPStream *stream, NPError reason);
|
NPError destroyStream(NPStream *stream, NPError reason);
|
||||||
|
|
||||||
// Windows message handlers
|
// Windows message handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user