removing misplaced semi-colons and comma after last item in enum that break some platforms

This commit is contained in:
jband%netscape.com 1999-03-27 02:00:27 +00:00
parent 232e8a13f6
commit 19cef6cec7
4 changed files with 15 additions and 15 deletions

@ -137,7 +137,7 @@ public: \
JSBool* retval) COND_PURE ; \
NS_IMETHOD Finalize(JSContext *cx, JSObject *obj, \
nsIXPConnectWrappedNative* wrapper, \
nsIXPCScriptable* arbitrary) COND_PURE /*;*/
nsIXPCScriptable* arbitrary) COND_PURE ;
// {8A9C85F0-BA3A-11d2-982D-006008962422}
@ -149,13 +149,13 @@ class nsIXPCScriptable : public nsISupports
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IXPCSCRIPTABLE_IID)
#define COND_PURE = 0
XPC_DECLARE_IXPCSCRIPTABLE;
XPC_DECLARE_IXPCSCRIPTABLE
#undef COND_PURE
#define COND_PURE
};
// macro test...
// XPC_DECLARE_IXPCSCRIPTABLE;
// XPC_DECLARE_IXPCSCRIPTABLE
/***************************************************************************/
@ -447,7 +447,7 @@ public:
//class foo : public nsIXPCScriptable
//{
// XPC_DECLARE_IXPCSCRIPTABLE;
// XPC_DECLARE_IXPCSCRIPTABLE
//};
//XPC_IMPLEMENT_FORWARD_IXPCSCRIPTABLE(foo)

@ -25,8 +25,8 @@
class InterfacesScriptable : public nsIXPCScriptable
{
public:
NS_DECL_ISUPPORTS;
XPC_DECLARE_IXPCSCRIPTABLE;
NS_DECL_ISUPPORTS
XPC_DECLARE_IXPCSCRIPTABLE
InterfacesScriptable();
virtual ~InterfacesScriptable();
private:
@ -171,8 +171,8 @@ NS_IMPL_QUERY_INTERFACE_SCRIPTABLE(nsXPCInterfaces, mScriptable)
class ClassesScriptable : public nsIXPCScriptable
{
public:
NS_DECL_ISUPPORTS;
XPC_DECLARE_IXPCSCRIPTABLE;
NS_DECL_ISUPPORTS
XPC_DECLARE_IXPCSCRIPTABLE
ClassesScriptable();
virtual ~ClassesScriptable();
private:

@ -356,7 +356,7 @@ private:
NMD_METHOD = 0x1,
NMD_ATTRIB_RO = 0x2,
NMD_ATTRIB_RW = 0x3,
NMD_CAT_MASK = 0x3, // & mask for the categories above
NMD_CAT_MASK = 0x3 // & mask for the categories above
// any new bits start at 0x04
};
@ -566,8 +566,8 @@ class nsXPCArbitraryScriptable : public nsIXPCScriptable
{
public:
// all the interface method declarations...
NS_DECL_ISUPPORTS;
XPC_DECLARE_IXPCSCRIPTABLE;
NS_DECL_ISUPPORTS
XPC_DECLARE_IXPCSCRIPTABLE
public:
nsXPCArbitraryScriptable();

@ -59,8 +59,8 @@ static void RegAllocator()
/***************************************************************************/
class MyScriptable : public nsIXPCScriptable
{
NS_DECL_ISUPPORTS;
XPC_DECLARE_IXPCSCRIPTABLE;
NS_DECL_ISUPPORTS
XPC_DECLARE_IXPCSCRIPTABLE
MyScriptable();
};
@ -109,7 +109,7 @@ MyScriptable::DefaultValue(JSContext *cx, JSObject *obj,
class nsTestXPCFoo : public nsITestXPCFoo2
{
NS_DECL_ISUPPORTS;
NS_DECL_ISUPPORTS
NS_IMETHOD Test(int p1, int p2, int* retval);
NS_IMETHOD Test2();
nsTestXPCFoo();
@ -165,7 +165,7 @@ nsTestXPCFoo::nsTestXPCFoo()
class MyEcho : public nsIEcho
{
public:
NS_DECL_ISUPPORTS;
NS_DECL_ISUPPORTS
NS_IMETHOD SetReciever(nsIEcho* aReciever);
NS_IMETHOD SendOneString(const char* str);
NS_IMETHOD In2OutOneInt(int input, int* output);