Bug 40783 - Remove TRUE/FALSE/NULL from npapi.h
Summary: Remove TRUE/FALSE/NULL from npapi.h
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 77200
  Show dependency treegraph
 
Reported: 2010-06-17 09:20 PDT by Stuart Morgan
Modified: 2022-06-20 17:30 PDT (History)
2 users (show)

See Also:


Attachments
npapi.h changes only (520 bytes, patch)
2010-06-17 09:20 PDT, Stuart Morgan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Morgan 2010-06-17 09:20:37 PDT
Created attachment 59001 [details]
npapi.h changes only

The upstream npapi.h no longer defines TRUE, FALSE, and NULL; plugin code should use either C++ constants, or numerical values.

Header change attached as a starting point, but all the places that use them will need to be changed.
Comment 1 Alexey Proskuryakov 2022-06-20 17:30:17 PDT
Closing, as NPAPI is gone from WebKit.