Search completed in 1.16 seconds.
4 results for "jsconstintegerspec":
JS_DefineConstDoubles
Mozilla › Projects › SpiderMonkey › JSAPI reference › JS DefineConstDoubles
Requires request. ...
...ne the new properties. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext. obj JSObject * Object for which to create new properties. cds JSConstDoubleSpec * Pointer to an array of JSConstDoubleSpec records containing property names and values to create. The last array element must contain zero-valued members. cis JSConstIntegerSpec * Pointer to an array of JSConstIntegerSpec records containing property names and values to create. The last array element must contain zero-valued members. Description JS_DefineConstDoubles creates one or more properties for a specified object, obj, where each property consists of a double value. JS_DefineConstIntegers creates one or more properties for a specified object, obj, where ea...
..., obj, where each property consists of a double value. JS_DefineConstIntegers creates one or more properties for a specified object, obj, where each property consists of a int32_t value. The attributes for each property is set to JSPROP_READONLY | JSPROP_PERMANENT. Obsolete from JSAPI 35 Each property is automatically assigned attributes as specified in the flags field of the JSConstDoubleSpec/JSConstIntegerSpec structure pointed to by cds/cis. If flags is set to 0, the attributes for the property are automatically set to JSPROP_PERMANENT | JSPROP_READONLY. cds and cis are pointers to the first element of an array of JSConstDoubleSpec/JSConstIntegerSpec structures. Each array element defines a single property name and property value to create. The name field of the last element of the array must contain...
...ineConstDoubles/JS_DefineConstIntegers create one property for each element in the array what contains a non-zero name field. ...
JSConstDoubleSpec
Mozilla › Projects › SpiderMonkey › JSAPI reference › JSConstDoubleSpec
features introduced in SpiderMonkey 17 Describes a double and integer value and assigns it a name. Syntax template<typename T> struct JSConstScalarSpec { const char *name; T val; /* uint8_t flags; // Obsolete from JSAPI 35 uint8_t spare[3]; // Obsolete from JSAPI 35 */ }; typedef JSConstScalarSpec<double> JSConstDoubleSpec; typedef JSConstScalarSpec<int32_t> JSConstIntegerSpec; // Added in SpiderMonkey 38 Name Type Description val double or int32_t Value for the double or integer. name const char * Name to assign the double. flags uint8_t Property attributes for the double. Obsolete since JSAPI 35 Currently these can be 0 or more of the following values OR'd: JSPROP_ENUMERATE: property is visible in...
...property is actually an array element. If this field is 0, JS_DefineConstDoubles uses the default attributes JSPROP_READONLY | JSPROP_PERMANENT instead. spare uint8_t [3] Reserved for future use. Obsolete since JSAPI 35 Description JSConstDoubleSpecs is used to define a set of double values that are assigned as properties to an object using JS_DefineConstDoubles. JSConstIntegerSpecs is used to define a set of double values that are assigned as properties to an object using JS_DefineConstIntegers. See Also MXR ID Search for JSConstDoubleSpec MXR ID Search for JSConstIntegerSpec JS_DefineConstDoubles. JS_DefineConstIntegers bug 1066020 - changed to template, and removed flags and spare ...
JSAPI reference
Mozilla › Projects › SpiderMonkey › JSAPI reference
lete since JSAPI 18 JSVAL_UNLOCK Obsolete since JSAPI 18 JS_LockGCThing Obsolete since JSAPI 21 JS_LockGCThingRT Obsolete since JSAPI 22 JS_UnlockGCThing Obsolete since JSAPI 21 JS_UnlockGCThingRT Obsolete since JSAPI 22 Numbers JS_NumberValue Added in SpiderMonkey 17 JS_DefineConstDoubles struct JSConstDoubleSpec JS_DefineConstIntegers Added in SpiderMonkey 38 struct JSConstIntegerSpec Added in SpiderMonkey 38 JS_GetNaNValue JS_GetNegativeInfinityValue JS_GetPositiveInfinityValue JS_DoubleIsInt32 Added in SpiderMonkey 17 JS_DoubleToInt32Added in SpiderMonkey 17 Obsolete since JSAPI 38 JS_DoubleToUint32 Added in SpiderMonkey 17 Obsolete since JSAPI 38 JS_NewNumberValue Obsolete since JSAPI 17 JS_NewDoubleValue Obsolete since JSAPI 17 JS_NewDouble Obsolete since ...
SpiderMonkey 38
Mozilla › Projects › SpiderMonkey › Releases › 38
dConstructor (bug 976148) JS::IsCallable (bug 1065811) JS::IsConstructor (bug 1065811) JS::MutableHandleSymbol (bug 645416) JS::OrdinaryToPrimitive (bug 1103152) JS::PropertySpecNameEqualsId (bug 1082672) JS::PropertySpecNameIsSymbol (bug 1082672) JS::PropertySpecNameToPermanentId (bug 1082672) JS::ProtoKeyToId (bug 987669) JS::RootedSymbol (bug 645416) JS::TrueHandleValue (bug 959787) JSConstIntegerSpec (bug 1066020) JSID_IS_SYMBOL (bug 645416) JSID_TO_SYMBOL (bug 645416) JSPROP_DEFINE_LATE (bug 825199) JSPROP_IGNORE_ENUMERATE (bug 1037770) JSPROP_IGNORE_PERMANENT (bug 1037770) JSPROP_IGNORE_READONLY (bug 1037770) JSPROP_IGNORE_VALUE (bug 1037770) JSPROP_PROPOP_ACCESSORS (bug 1088002) JSPROP_REDEFINE_NONCONFIGURABLE (bug 1101123) JS_AddFinalizeCallback (bug 996785) JS_DefineConstInteg...