mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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
|
||||
// supposed to handle.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
char*
|
||||
const char*
|
||||
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);
|
||||
#endif
|
||||
|
||||
char* NP_GetMIMEDescription(void);
|
||||
const char* NP_GetMIMEDescription(void);
|
||||
NPError NP_GetValue(void*, NPPVariable variable, void* value);
|
||||
NPError OSCALL NP_GetEntryPoints(NPPluginFuncs *pluginFuncs);
|
||||
NPError OSCALL NP_Shutdown(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user