mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
NP_GetMIMEDescription should return const char*
This commit is contained in:
parent
14c0178225
commit
f651750539
@ -116,9 +116,9 @@ open_logfile() {
|
|||||||
// get the mimetypes and extensions this plugin is
|
// get the mimetypes and extensions this plugin is
|
||||||
// supposed to handle.
|
// supposed to handle.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
char*
|
const char*
|
||||||
NP_GetMIMEDescription(void) {
|
NP_GetMIMEDescription(void) {
|
||||||
return (char*) "application/x-panda3d:p3d:Panda3D applet;";
|
return (const char*) "application/x-panda3d:p3d:Panda3D applet;";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
@ -29,7 +29,7 @@ extern "C" {
|
|||||||
NPPluginFuncs *pluginFuncs);
|
NPPluginFuncs *pluginFuncs);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char* NP_GetMIMEDescription(void);
|
const char* NP_GetMIMEDescription(void);
|
||||||
NPError NP_GetValue(void*, NPPVariable variable, void* value);
|
NPError NP_GetValue(void*, NPPVariable variable, void* value);
|
||||||
NPError OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
NPError OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
||||||
NPError OSCALL NP_Shutdown(void);
|
NPError OSCALL NP_Shutdown(void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user