author | Brendan Eich <brendan@mozilla.org> |
Sun, 11 Apr 2010 10:40:36 -0700 | |
changeset 40862 | 91ca703f8d6947d5d84042d9cb145867bd4f7e8a |
parent 40861 | 4932aaad496277d9007d164b0f6e4f012aaa8f39 |
child 40863 | f3daf9f9942cb349f30307d865ec1d0e588aee53 |
child 40864 | a39e0ce1c8ca25adbdd40fbbaf075db003a49751 |
push id | 1 |
push user | root |
push date | Tue, 26 Apr 2011 22:38:44 +0000 |
treeherder | mozilla-beta@bfdb6e623a36 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | REDRUM |
bugs | 558437 |
milestone | 1.9.3a5pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
|
js/src/jsprvtd.h | file | annotate | diff | comparison | revisions |
--- a/js/src/jsprvtd.h +++ b/js/src/jsprvtd.h @@ -83,22 +83,26 @@ #define JS_BITS_PER_UINT32_LOG2 5 #define JS_BITS_PER_UINT32 32 /* Scalar typedefs. */ typedef uint8 jsbytecode; typedef uint8 jssrcnote; typedef uint32 jsatomid; +#ifdef __cplusplus + /* Class and struct forward declarations in namespace js. */ namespace js { struct Parser; struct Compiler; } +#endif + /* Struct typedefs. */ typedef struct JSArgumentFormatMap JSArgumentFormatMap; typedef struct JSCodeGenerator JSCodeGenerator; typedef struct JSGCThing JSGCThing; typedef struct JSGenerator JSGenerator; typedef struct JSNativeEnumerator JSNativeEnumerator; typedef struct JSFunctionBox JSFunctionBox; typedef struct JSObjectBox JSObjectBox;