Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
386c6b9d
Commit
386c6b9d
authored
Feb 08, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla: define wrapper prototypes in support/npunix.c
parent
a6d61f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
projects/mozilla/support/npunix.c
projects/mozilla/support/npunix.c
+18
-4
No files found.
projects/mozilla/support/npunix.c
View file @
386c6b9d
...
@@ -421,6 +421,24 @@ void NPN_SetException(NPObject *npobj, const NPUTF8 *message)
...
@@ -421,6 +421,24 @@ void NPN_SetException(NPObject *npobj, const NPUTF8 *message)
* setting up globals for 68K plugins.
* setting up globals for 68K plugins.
*
*
***********************************************************************/
***********************************************************************/
NPError
Private_New
(
NPMIMEType
pluginType
,
NPP
instance
,
uint16
mode
,
int16
argc
,
char
*
argn
[],
char
*
argv
[],
NPSavedData
*
saved
);
NPError
Private_Destroy
(
NPP
instance
,
NPSavedData
**
save
);
NPError
Private_SetWindow
(
NPP
instance
,
NPWindow
*
window
);
NPError
Private_NewStream
(
NPP
instance
,
NPMIMEType
type
,
NPStream
*
stream
,
NPBool
seekable
,
uint16
*
stype
);
int32
Private_WriteReady
(
NPP
instance
,
NPStream
*
stream
);
int32
Private_Write
(
NPP
instance
,
NPStream
*
stream
,
int32
offset
,
int32
len
,
void
*
buffer
);
void
Private_StreamAsFile
(
NPP
instance
,
NPStream
*
stream
,
const
char
*
fname
);
NPError
Private_DestroyStream
(
NPP
instance
,
NPStream
*
stream
,
NPError
reason
);
void
Private_URLNotify
(
NPP
instance
,
const
char
*
url
,
NPReason
reason
,
void
*
notifyData
);
void
Private_Print
(
NPP
instance
,
NPPrint
*
platformPrint
);
NPError
Private_GetValue
(
NPP
instance
,
NPPVariable
variable
,
void
*
r_value
);
NPError
Private_SetValue
(
NPP
instance
,
NPPVariable
variable
,
void
*
r_value
);
JRIGlobalRef
Private_GetJavaClass
(
void
);
/* */
NPError
NPError
Private_New
(
NPMIMEType
pluginType
,
NPP
instance
,
uint16
mode
,
Private_New
(
NPMIMEType
pluginType
,
NPP
instance
,
uint16
mode
,
...
@@ -484,7 +502,6 @@ Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
...
@@ -484,7 +502,6 @@ Private_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
NPP_StreamAsFile
(
instance
,
stream
,
fname
);
NPP_StreamAsFile
(
instance
,
stream
,
fname
);
}
}
NPError
NPError
Private_DestroyStream
(
NPP
instance
,
NPStream
*
stream
,
NPError
reason
)
Private_DestroyStream
(
NPP
instance
,
NPStream
*
stream
,
NPError
reason
)
{
{
...
@@ -497,14 +514,11 @@ Private_DestroyStream(NPP instance, NPStream* stream, NPError reason)
...
@@ -497,14 +514,11 @@ Private_DestroyStream(NPP instance, NPStream* stream, NPError reason)
void
void
Private_URLNotify
(
NPP
instance
,
const
char
*
url
,
Private_URLNotify
(
NPP
instance
,
const
char
*
url
,
NPReason
reason
,
void
*
notifyData
)
NPReason
reason
,
void
*
notifyData
)
{
{
PLUGINDEBUGSTR
(
"URLNotify"
);
PLUGINDEBUGSTR
(
"URLNotify"
);
NPP_URLNotify
(
instance
,
url
,
reason
,
notifyData
);
NPP_URLNotify
(
instance
,
url
,
reason
,
notifyData
);
}
}
void
void
Private_Print
(
NPP
instance
,
NPPrint
*
platformPrint
)
Private_Print
(
NPP
instance
,
NPPrint
*
platformPrint
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment