JSStringFinalizer

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,