mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Backed out changeset 2fdccaab2e7c (bug 1431030) for build bustages on a CLOSED TREE
--HG-- extra : amend_source : 4b243382b2a63958021222c739db5e1ae2739b88
This commit is contained in:
parent
ecb3dafe1e
commit
5436902556
@ -14,14 +14,11 @@
|
||||
#include "mozilla/PluginLibrary.h"
|
||||
#include "mozilla/RefCounted.h"
|
||||
|
||||
// clang-format off
|
||||
// See bug 1431030
|
||||
#if defined(XP_WIN)
|
||||
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)
|
||||
#else
|
||||
#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (* _name)
|
||||
#endif
|
||||
// clang-format on
|
||||
|
||||
typedef NS_NPAPIPLUGIN_CALLBACK(NPError, NP_GETENTRYPOINTS) (NPPluginFuncs* pCallbacks);
|
||||
typedef NS_NPAPIPLUGIN_CALLBACK(NPError, NP_PLUGININIT) (const NPNetscapeFuncs* pCallbacks);
|
||||
|
@ -14,6 +14,7 @@ UNIFIED_SOURCES += [
|
||||
'txBooleanExpr.cpp',
|
||||
'txBooleanResult.cpp',
|
||||
'txCoreFunctionCall.cpp',
|
||||
'txErrorExpr.cpp',
|
||||
'txExpr.cpp',
|
||||
'txExprLexer.cpp',
|
||||
'txExprParser.cpp',
|
||||
|
@ -1002,6 +1002,27 @@ private:
|
||||
txOwningArray<txNodeTest> mNodeTests;
|
||||
};
|
||||
|
||||
/**
|
||||
* Expression that failed to parse
|
||||
*/
|
||||
class txErrorExpr : public Expr
|
||||
{
|
||||
public:
|
||||
#ifdef TX_TO_STRING
|
||||
explicit txErrorExpr(const nsAString& aStr)
|
||||
: mStr(aStr)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
TX_DECL_EXPR
|
||||
|
||||
#ifdef TX_TO_STRING
|
||||
private:
|
||||
nsString mStr;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user