Bug 6737 - KJS_DEFINE_PROTOTYPE should work outside of the KJS namespace
Summary: KJS_DEFINE_PROTOTYPE should work outside of the KJS namespace
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks: 5975
  Show dependency treegraph
 
Reported: 2006-01-23 10:00 PST by Anders Carlsson
Modified: 2006-01-24 09:21 PST (History)
0 users

See Also:


Attachments
Patch (7.31 KB, patch)
2006-01-23 13:42 PST, Anders Carlsson
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2006-01-23 10:00:14 PST
Currently, KJS_DEFINE_PROTOTYPE assumes that the current namespace is KJS (or that it's been included). Since KJS_DEFINE_PROTOTYPE is meant to be used in headers that aren't part of the KJS namespace, it needs to have all KJS types prefixed with KJS::
Comment 1 Anders Carlsson 2006-01-23 13:42:48 PST
Created attachment 5885 [details]
Patch