Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/a47edd373316036d93fb7439b950a33fade1a49d
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/a47edd373316036d93fb7439b950a33fade1a49d
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/a47edd373316036d93fb7439b950a33fade1a49d

The branch, master has been updated
       via  a47edd373316036d93fb7439b950a33fade1a49d (commit)
      from  8e7fc8e2ac6f26ca0343eaebb60c164c9acf4a69 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=a47edd373316036d93fb7439b950a33fade1a49d
commit a47edd373316036d93fb7439b950a33fade1a49d
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Duktape: Make declarations match definitions for inline functions.

diff --git a/content/handlers/javascript/duktape/duktape.c 
b/content/handlers/javascript/duktape/duktape.c
index 1d4a3bc..3139b69 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -5239,8 +5239,8 @@ DUK_INTERNAL_DECL void 
duk_heaphdr_decref_norz(duk_hthread *thr, duk_heaphdr *h)
 /* Current convention is to use duk_size_t for value stack sizes and global 
indices,
  * and duk_idx_t for local frame indices.
  */
-DUK_INTERNAL_DECL void duk_valstack_grow_check_throw(duk_hthread *thr, 
duk_size_t min_bytes);
-DUK_INTERNAL_DECL duk_bool_t duk_valstack_grow_check_nothrow(duk_hthread *thr, 
duk_size_t min_bytes);
+DUK_INTERNAL_DECL DUK_INLINE void duk_valstack_grow_check_throw(duk_hthread 
*thr, duk_size_t min_bytes);
+DUK_INTERNAL_DECL DUK_INLINE duk_bool_t 
duk_valstack_grow_check_nothrow(duk_hthread *thr, duk_size_t min_bytes);
 DUK_INTERNAL_DECL void duk_valstack_shrink_check_nothrow(duk_hthread *thr, 
duk_bool_t snug);
 
 DUK_INTERNAL_DECL void duk_copy_tvals_incref(duk_hthread *thr, duk_tval 
*tv_dst, duk_tval *tv_src, duk_size_t count);
@@ -7688,13 +7688,13 @@ DUK_INTERNAL_DECL void 
duk_hthread_create_builtin_objects(duk_hthread *thr);
 DUK_INTERNAL_DECL duk_bool_t duk_hthread_init_stacks(duk_heap *heap, 
duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_terminate(duk_hthread *thr);
 
-DUK_INTERNAL_DECL duk_activation *duk_hthread_activation_alloc(duk_hthread 
*thr);
+DUK_INTERNAL_DECL DUK_INLINE duk_activation 
*duk_hthread_activation_alloc(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_activation_free(duk_hthread *thr, 
duk_activation *act);
 DUK_INTERNAL_DECL void duk_hthread_activation_unwind_norz(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_activation_unwind_reuse_norz(duk_hthread 
*thr);
 DUK_INTERNAL_DECL duk_activation 
*duk_hthread_get_activation_for_level(duk_hthread *thr, duk_int_t level);
 
-DUK_INTERNAL_DECL duk_catcher *duk_hthread_catcher_alloc(duk_hthread *thr);
+DUK_INTERNAL_DECL DUK_INLINE duk_catcher 
*duk_hthread_catcher_alloc(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_catcher_free(duk_hthread *thr, duk_catcher 
*cat);
 DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_norz(duk_hthread *thr, 
duk_activation *act);
 DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_nolexenv_norz(duk_hthread 
*thr, duk_activation *act);


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/javascript/duktape/duktape.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/content/handlers/javascript/duktape/duktape.c 
b/content/handlers/javascript/duktape/duktape.c
index 1d4a3bc..3139b69 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -5239,8 +5239,8 @@ DUK_INTERNAL_DECL void 
duk_heaphdr_decref_norz(duk_hthread *thr, duk_heaphdr *h)
 /* Current convention is to use duk_size_t for value stack sizes and global 
indices,
  * and duk_idx_t for local frame indices.
  */
-DUK_INTERNAL_DECL void duk_valstack_grow_check_throw(duk_hthread *thr, 
duk_size_t min_bytes);
-DUK_INTERNAL_DECL duk_bool_t duk_valstack_grow_check_nothrow(duk_hthread *thr, 
duk_size_t min_bytes);
+DUK_INTERNAL_DECL DUK_INLINE void duk_valstack_grow_check_throw(duk_hthread 
*thr, duk_size_t min_bytes);
+DUK_INTERNAL_DECL DUK_INLINE duk_bool_t 
duk_valstack_grow_check_nothrow(duk_hthread *thr, duk_size_t min_bytes);
 DUK_INTERNAL_DECL void duk_valstack_shrink_check_nothrow(duk_hthread *thr, 
duk_bool_t snug);
 
 DUK_INTERNAL_DECL void duk_copy_tvals_incref(duk_hthread *thr, duk_tval 
*tv_dst, duk_tval *tv_src, duk_size_t count);
@@ -7688,13 +7688,13 @@ DUK_INTERNAL_DECL void 
duk_hthread_create_builtin_objects(duk_hthread *thr);
 DUK_INTERNAL_DECL duk_bool_t duk_hthread_init_stacks(duk_heap *heap, 
duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_terminate(duk_hthread *thr);
 
-DUK_INTERNAL_DECL duk_activation *duk_hthread_activation_alloc(duk_hthread 
*thr);
+DUK_INTERNAL_DECL DUK_INLINE duk_activation 
*duk_hthread_activation_alloc(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_activation_free(duk_hthread *thr, 
duk_activation *act);
 DUK_INTERNAL_DECL void duk_hthread_activation_unwind_norz(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_activation_unwind_reuse_norz(duk_hthread 
*thr);
 DUK_INTERNAL_DECL duk_activation 
*duk_hthread_get_activation_for_level(duk_hthread *thr, duk_int_t level);
 
-DUK_INTERNAL_DECL duk_catcher *duk_hthread_catcher_alloc(duk_hthread *thr);
+DUK_INTERNAL_DECL DUK_INLINE duk_catcher 
*duk_hthread_catcher_alloc(duk_hthread *thr);
 DUK_INTERNAL_DECL void duk_hthread_catcher_free(duk_hthread *thr, duk_catcher 
*cat);
 DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_norz(duk_hthread *thr, 
duk_activation *act);
 DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_nolexenv_norz(duk_hthread 
*thr, duk_activation *act);


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to