// Test04.cpp
#include "nsIDOMNode.h"
#include "nsCOMPtr.h"
#ifdef __MWERKS__
#pragma exceptions off
#endif
/*
Windows:
nsCOMPtr 13
raw 36
Macintosh:
nsCOMPtr 36 bytes (1.0000)
raw 120 (3.3333) i.e., 333.33% bigger than nsCOMPtr
*/
class Test04_Raw
{
public:
Test04_Raw();
~Test04_Raw();
private:
};
: mNode(0)
{
// nothing else to do here
}
Test04_Raw::~Test04_Raw()
{
}
void // nsresult
// m120, w36
{
// return NS_OK;
}
class Test04_nsCOMPtr
{
public:
private:
};
void // nsresult
// m36, w13/13
{
}