Commit 793dbccd authored by Andrew McCreight's avatar Andrew McCreight
Browse files

Bug 934990 - Export CurrentThreadCanAccess functions properly. r=terrence

parent 3a91ef00
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -18,8 +18,11 @@ namespace js {

// Whether the current thread is permitted access to any part of the specified
// runtime or zone.
extern bool CurrentThreadCanAccessRuntime(JSRuntime *rt);
extern bool CurrentThreadCanAccessZone(JS::Zone *zone);
JS_FRIEND_API(bool)
CurrentThreadCanAccessRuntime(JSRuntime *rt);

JS_FRIEND_API(bool)
CurrentThreadCanAccessZone(JS::Zone *zone);

namespace gc {