Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JSStringFinalizer

This article needs a technical review. How you can help.

This article covers features introduced in SpiderMonkey 17

Finalize external strings created by JS_NewExternalString.

Syntax

struct JSStringFinalizer {
    void (*finalize)(const JSStringFinalizer *fin, char16_t *chars);
};
Name Type Description
fin JSStringFinalizer The finalizer itself.
chars char16_t * Buffer of the external string to be finalized.

Description

JSStringFinalizer::finalize finalizes external strings created by JS_NewExternalString.

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,