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:
parent
d882c1dfe6
commit
36e56e8886
@ -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) {}
|
||||
|
||||
|
||||
@ -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) {}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user