diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-03-21 18:30:41 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2020-03-21 18:30:41 +0000 |
commit | 17b28e85c12309d60e3c45acb096b9989a7834ff (patch) | |
tree | d10a03b425d22b1c48be7356466b0420bfb36402 /desktop/browser_private.h | |
parent | 313dc9b099a172914f312120f0f9d0260a3588cf (diff) | |
download | netsurf-17b28e85c12309d60e3c45acb096b9989a7834ff.tar.gz netsurf-17b28e85c12309d60e3c45acb096b9989a7834ff.tar.bz2 |
JS: Split concept of JS context into heap and thread
In preparation for proper splitting of Javascript support into
heaps and threads, this renames the types and corrects the no-js
builds to still work. At this time no substantive change in
semantics exists, and the duktape build won't work.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'desktop/browser_private.h')
-rw-r--r-- | desktop/browser_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/browser_private.h b/desktop/browser_private.h index c9f9bbcf6..562abf131 100644 --- a/desktop/browser_private.h +++ b/desktop/browser_private.h @@ -263,7 +263,8 @@ struct browser_window { bool can_edit; /** current javascript context */ - struct jscontext *jsctx; + struct jsheap *jsheap; + struct jsthread *jsthread; /** cache of the currently displayed status text. */ struct { |