зеркало из https://github.com/mozilla/pjs.git
fix npapi types bustage, b=453883
This commit is contained in:
Родитель
b71ad2aca7
Коммит
e315ee9d98
|
@ -107,8 +107,8 @@ NPP_Shutdown(void)
|
|||
NPError
|
||||
NPP_New(NPMIMEType pluginType,
|
||||
NPP instance,
|
||||
uint16 mode,
|
||||
int16 argc,
|
||||
uint16_t mode,
|
||||
int16_t argc,
|
||||
char* argn[],
|
||||
char* argv[],
|
||||
NPSavedData* saved)
|
||||
|
@ -246,7 +246,7 @@ NPP_NewStream(NPP instance,
|
|||
NPMIMEType type,
|
||||
NPStream *stream,
|
||||
NPBool seekable,
|
||||
uint16 *stype)
|
||||
uint16_t *stype)
|
||||
{
|
||||
if (instance == NULL)
|
||||
return NPERR_INVALID_INSTANCE_ERROR;
|
||||
|
@ -255,7 +255,7 @@ NPP_NewStream(NPP instance,
|
|||
}
|
||||
|
||||
|
||||
int32
|
||||
int32_t
|
||||
NPP_WriteReady(NPP instance, NPStream *stream)
|
||||
{
|
||||
if (instance == NULL)
|
||||
|
@ -269,8 +269,8 @@ NPP_WriteReady(NPP instance, NPStream *stream)
|
|||
}
|
||||
|
||||
|
||||
int32
|
||||
NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer)
|
||||
int32_t
|
||||
NPP_Write(NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer)
|
||||
{
|
||||
if (instance == NULL)
|
||||
return NPERR_INVALID_INSTANCE_ERROR;
|
||||
|
|
|
@ -79,13 +79,13 @@ Click OK to download Plugin."
|
|||
|
||||
typedef struct _PluginInstance
|
||||
{
|
||||
uint16 mode;
|
||||
uint16_t mode;
|
||||
#ifdef MOZ_X11
|
||||
Window window;
|
||||
Display *display;
|
||||
#endif
|
||||
uint32 x, y;
|
||||
uint32 width, height;
|
||||
uint32_t x, y;
|
||||
uint32_t width, height;
|
||||
NPMIMEType type;
|
||||
char *message;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче