Changeset 29914 in webkit


Ignore:
Timestamp:
Feb 1, 2008 9:45:34 AM (16 years ago)
Author:
pewtermoose@webkit.org
Message:

2008-02-01 Rodney Dawes <dobey@wayofthemonkey.com>

Reviewed by Darin.

Update npfunctions.h to export the proper function signatures for UNIX and add
the appropriate #if around the Windows versions

  • plugins/npfunctions.h:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29913 r29914  
     12008-02-01  Rodney Dawes  <dobey@wayofthemonkey.com>
     2
     3        Reviewed by Darin.
     4
     5        Update npfunctions.h to export the proper function signatures for UNIX and add
     6        the appropriate #if around the Windows versions
     7
     8        * plugins/npfunctions.h:
     9
    1102008-02-01  Eric Seidel  <eric@webkit.org>
    211
  • trunk/WebCore/plugins/npfunctions.h

    r29399 r29914  
    173173} NPPluginFuncs;
    174174
     175#if defined(XP_WIN)
    175176typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*);
    176177typedef EXPORTED_CALLBACK(NPError, NP_GetEntryPointsFuncPtr)(NPPluginFuncs*);
     178#endif
    177179
    178180#if defined(XP_MACOSX)
    179181typedef void    (*BP_CreatePluginMIMETypesPreferencesFuncPtr)(void);
    180182typedef NPError (*MainFuncPtr)(NPNetscapeFuncs*, NPPluginFuncs*, NPP_ShutdownProcPtr*);
     183#endif
     184
     185#if defined(XP_UNIX)
     186typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*, NPPluginFuncs*);
     187typedef EXPORTED_CALLBACK(char*, NP_GetMIMEDescriptionFuncPtr)(void);
    181188#endif
    182189
Note: See TracChangeset for help on using the changeset viewer.