This article covers features introduced in SpiderMonkey 17

Get the string finalizer of an external string.

Syntax

const JSStringFinalizer *
JS_GetExternalStringFinalizer(JSString *str);
Name Type Description
str JSString * A string to get finalizer.

Description

JS_GetExternalStringFinalizer returns the fin parameter passed to JS_NewExternalString.

See Also