JS GET CLASS

  • Revision slug: JS_GET_CLASS
  • Revision title: JS GET CLASS
  • Revision id: 144978
  • Created:
  • Creator: Tservo
  • Is current revision? No
  • Comment /* Syntax */

Revision Content

<title>JS_GetClass</title>

Summary

Function

Retrieves the class associated with an object.

Syntax

JSClass * JS_GetClass(JSObject *obj);
Alternative syntax when JS_THREADSAFE is defined in a multithreaded environment:
JSClass * JS_GetClass(JSContext *cx, JSObject *obj)

Description

See Also

Groups Functions
Documents {{template.LXRSearch("ident", "i", "JS_GetClass", "LXR ID Search")}}
Entries

JS_MaybeGC, JS_malloc, JS_realloc

Revision Source

<p> &lt;title&gt;JS_GetClass&lt;/title&gt;
</p>
<h2 name="Summary"> Summary </h2>
<p><b>Function</b>
</p><p>Retrieves the class associated with an object.
</p>
<h2 name="Syntax"> Syntax </h2>
<pre>JSClass * JS_GetClass(JSObject *obj);
Alternative syntax when JS_THREADSAFE is defined in a multithreaded environment:
JSClass * JS_GetClass(JSContext *cx, JSObject *obj)
</pre>
<h2 name="Description"> Description </h2>
<h2 name="See_Also"> See Also </h2>
<table class="fullwidth-table">
<tbody><tr>
<td>Groups</td>
<td><a href="en/JSAPI_Reference#Functions">Functions</a></td>
</tr>
<tr>
<td>Documents</td>
<td>{{template.LXRSearch("ident", "i", "JS_GetClass", "LXR ID Search")}}</td>
</tr>
<tr>
<td>Entries</td>
<td>
<p><a href="en/JSAPI_Reference/JS_MaybeGC">JS_MaybeGC</a>,
<a href="en/JSAPI_Reference/JS_malloc">JS_malloc</a>,
<a href="en/JSAPI_Reference/JS_realloc">JS_realloc</a>
</p>
</td>
</tr>
</tbody></table>
Revert to this revision