mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 698495 part 3. Expose IndexToId to API consumers. r=waldo
This commit is contained in:
parent
23e72ba66d
commit
bc9acd044b
@ -6296,3 +6296,9 @@ BOOL WINAPI DllMain (HINSTANCE hDLL, DWORD dwReason, LPVOID lpReserved)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
JS_PUBLIC_API(JSBool)
|
||||
JS_IndexToId(JSContext *cx, uint32 index, jsid *id)
|
||||
{
|
||||
return IndexToId(cx, index, id);
|
||||
}
|
||||
|
@ -4893,6 +4893,12 @@ extern JS_PUBLIC_API(void)
|
||||
JS_ScheduleGC(JSContext *cx, uint32 count, JSBool compartment);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Convert a uint32 index into a jsid.
|
||||
*/
|
||||
extern JS_PUBLIC_API(JSBool)
|
||||
JS_IndexToId(JSContext *cx, uint32 index, jsid *id);
|
||||
|
||||
JS_END_EXTERN_C
|
||||
|
||||
#endif /* jsapi_h___ */
|
||||
|
Loading…
Reference in New Issue
Block a user