added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj.

git-svn-id: svn://10.0.0.236/trunk@65475 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 2000-04-07 02:47:53 +00:00
parent d882c1dfe6
commit 36e56e8886
2 changed files with 6 additions and 2 deletions

View File

@ -23,6 +23,8 @@
#include "icodegenerator.h"
namespace JavaScript {
class JSObject;
union JSValue {
int8 i8;
uint8 u8;
@ -34,7 +36,7 @@ namespace JavaScript {
uint64 u64;
float32 f32;
float64 f64;
void* ref;
JSObject* obj;
JSValue() : f64(0.0) {}

View File

@ -23,6 +23,8 @@
#include "icodegenerator.h"
namespace JavaScript {
class JSObject;
union JSValue {
int8 i8;
uint8 u8;
@ -34,7 +36,7 @@ namespace JavaScript {
uint64 u64;
float32 f32;
float64 f64;
void* ref;
JSObject* obj;
JSValue() : f64(0.0) {}