Describes a double value and assigns it a name.
struct JSConstDoubleSpec {
jsdouble dval;
const char *name;
uint8 flags;
uint8 spare[3];
};
| Name | Type | Description |
|---|---|---|
dval |
jsdouble |
Value for the double. |
name |
const char * |
Name to assign the double. |
flags |
uint8 |
Property attributes for the double. Currently these can be 0 or more of the following values OR'd:
If this field is |
spare |
uint8[3] |
Reserved for future use. |
JSConstDoubleSpecs is used to define a set of double values that are assigned as properties to an object using JS_DefineConstDoubles.
Page last modified 20:08, 5 Sep 2008 by Jorend