Fix typos in JS types
[chromium-blink-merge.git] / third_party / npapi / bindings / nphostapi.h
blobaecbe854032a104806a3e8894d43227e59a9f7ba
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef _NPHOSTAPI_H_
6 #define _NPHOSTAPI_H_
8 #include "base/port.h"
9 #include "third_party/npapi/bindings/npapi.h"
10 #include "third_party/npapi/bindings/npapi_extensions.h"
11 #include "third_party/npapi/bindings/npfunctions.h"
12 #include "third_party/npapi/bindings/npruntime.h"
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
19 // NPAPI library entry points
21 #if defined(OS_POSIX) && !defined(OS_MACOSX)
22 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pNFuncs,
23 NPPluginFuncs* pPFuncs);
24 #else
25 typedef NPError (API_CALL * NP_InitializeFunc)(NPNetscapeFuncs* pFuncs);
26 typedef NPError (API_CALL * NP_GetEntryPointsFunc)(NPPluginFuncs* pFuncs);
27 #endif
28 typedef NPError (API_CALL * NP_ShutdownFunc)(void);
30 #ifdef __cplusplus
31 } // extern "C"
32 #endif
34 #endif // _NPHOSTAPI_H_