Adobe Extending Dreamweaver CS4 Instrukcja Użytkownika Strona 360

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 387
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 359
354
EXTENDING DREAMWEAVER CS4
C-level extensibility
Note: The JS_UCStringToValue() method is like the JSBool JS_StringToValue() in every way, except that it
returns a UTF-8 string.
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.
JSVal JS_IntegerToValue()
Description
This function converts a long integer value to JSVal structure.
Arguments
lv
The lv argument is the long integer value that you want to convert to a JSVal structure.
Returns
A JSVal structure that contains the integer that was passed to the function as an argument.
Przeglądanie stron 359
1 2 ... 355 356 357 358 359 360 361 362 363 364 365 ... 386 387

Komentarze do niniejszej Instrukcji

Brak uwag