Fixed NPP_GetValue signature for new npapi.h header.

git-svn-id: svn://10.0.0.236/trunk@7149 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com 1998-08-03 21:56:21 +00:00
parent 6f3eccdd4c
commit abd529162e
4 changed files with 5 additions and 6 deletions

View File

@ -67,7 +67,7 @@ NPP_GetMIMEDescription(void)
}
NPError
NPP_GetValue(void *future, NPPVariable variable, void *value)
NPP_GetValue(NPP future, NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;

View File

@ -107,7 +107,7 @@ NPP_GetMIMEDescription(void)
#define PLUGIN_DESCRIPTION "Tests java natives and reflection stuff."
NPError
NPP_GetValue(void *future, NPPVariable variable, void *value)
NPP_GetValue(NPP future, NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;
if (variable == NPPVpluginNameString)

View File

@ -50,7 +50,7 @@ NPP_GetMIMEDescription(void)
}
NPError
NPP_GetValue(void *instance, NPPVariable variable, void *value)
NPP_GetValue(NPP instance, NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;

View File

@ -111,7 +111,7 @@ NPP_GetMIMEDescription(void)
}
NPError
NPP_GetValue(void *future, NPPVariable variable, void *value)
NPP_GetValue(NPP future, NPPVariable variable, void *value)
{
NPError err = NPERR_NO_ERROR;
@ -280,7 +280,6 @@ NPP_SetWindow(NPP instance, NPWindow* window)
#ifdef TEXT_PLUGIN
{
Widget netscape_widget;
Widget form;
Arg av[20];
int ac;
@ -448,7 +447,7 @@ NPP_Print(NPP instance, NPPrint* printInfo)
return;
if (instance != NULL) {
PluginInstance* This = (PluginInstance*) instance->pdata;
/*PluginInstance* This = (PluginInstance*) instance->pdata;*/
if (printInfo->mode == NP_FULL) {
/*