MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifikace Strana 465

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 504
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 464
The C-level API 465
The vp argument is a pointer to the jsval structure into which the contents of the string
should be copied.
Returns
A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
JSBool JS_DoubleToValue()
Description
This function stores a floating-point number return value in a jsval structure.
Arguments
JSContext *cx, double dv, jsval *vp
The cx argument is the opaque JSContext pointer that passes to the JavaScript function.
The dv argument is an 8-byte floating-point number.
The vp argument is a pointer to the jsval structure into which the contents of the double
should be copied.
Returns
A Boolean value: JS_TRUE indicates success; JS_FALSE indicates failure.
JSVal JS_BooleanToValue()
Description
This function stores a Boolean return value in a jsval structure.
Arguments
JSBool bv
The bv argument is a Boolean value: JS_TRUE indicates success; JS_FALSE indicates
failure.
Returns
A JSVal structure that contains the Boolean value that passes to the function as an argument.
Zobrazit stránku 464
1 2 ... 460 461 462 463 464 465 466 467 468 469 470 ... 503 504

Komentáře k této Příručce

Žádné komentáře