Obsolete since JavaScript 1.8.5
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Frees the stack entry allocated by JS_PushArguments.

Syntax

void
JS_PopArguments(JSContext *cx, void *mark);
Name Type Description
cx JSContext * Pointer to a JS context from which to derive runtime information. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.
mark void * Pointer to a void * which holds the stack frame pointer previously supplied by JS_PushArguments.

Description

JS_PopArguments frees the stack frame pointer previously allocated by JS_PushArguments and unroots the jsvals which have been associated with it (those returned by JS_PushArguments as well).

See Also