diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-01-25 15:48:07 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-01-25 15:49:31 +0000 |
commit | 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 (patch) | |
tree | 2e637164db7b80b85771b2a921b84eb06e0ac5f6 /javascript | |
parent | 822493af0d301fbfe05bae11b9ae12914171057f (diff) | |
download | netsurf-6d63f7959af64a45b0643d0610fcbdb0c07bfbc4.tar.gz netsurf-6d63f7959af64a45b0643d0610fcbdb0c07bfbc4.tar.bz2 |
make declarations match definitions for duk_raw_read_xxx_be
Diffstat (limited to 'javascript')
-rw-r--r-- | javascript/duktape/duktape.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/javascript/duktape/duktape.c b/javascript/duktape/duktape.c index 105bdbef9..a215d13dc 100644 --- a/javascript/duktape/duktape.c +++ b/javascript/duktape/duktape.c @@ -4926,12 +4926,12 @@ DUK_INTERNAL_DECL duk_uint8_t *duk_bw_insert_ensure_area(duk_hthread *thr, duk_b DUK_INTERNAL_DECL void duk_bw_remove_raw_slice(duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t off, duk_size_t len); /* No duk_bw_remove_ensure_slice(), functionality would be identical. */ -DUK_INTERNAL_DECL duk_uint16_t duk_raw_read_u16_be(duk_uint8_t **p); -DUK_INTERNAL_DECL duk_uint32_t duk_raw_read_u32_be(duk_uint8_t **p); -DUK_INTERNAL_DECL duk_double_t duk_raw_read_double_be(duk_uint8_t **p); -DUK_INTERNAL_DECL void duk_raw_write_u16_be(duk_uint8_t **p, duk_uint16_t val); -DUK_INTERNAL_DECL void duk_raw_write_u32_be(duk_uint8_t **p, duk_uint32_t val); -DUK_INTERNAL_DECL void duk_raw_write_double_be(duk_uint8_t **p, duk_double_t val); +DUK_INTERNAL_DECL DUK_INLINE duk_uint16_t duk_raw_read_u16_be(duk_uint8_t **p); +DUK_INTERNAL_DECL DUK_INLINE duk_uint32_t duk_raw_read_u32_be(duk_uint8_t **p); +DUK_INTERNAL_DECL DUK_INLINE duk_double_t duk_raw_read_double_be(duk_uint8_t **p); +DUK_INTERNAL_DECL DUK_INLINE void duk_raw_write_u16_be(duk_uint8_t **p, duk_uint16_t val); +DUK_INTERNAL_DECL DUK_INLINE void duk_raw_write_u32_be(duk_uint8_t **p, duk_uint32_t val); +DUK_INTERNAL_DECL DUK_INLINE void duk_raw_write_double_be(duk_uint8_t **p, duk_double_t val); #if defined(DUK_USE_DEBUGGER_SUPPORT) /* For now only needed by the debugger. */ DUK_INTERNAL void duk_byteswap_bytes(duk_uint8_t *p, duk_small_uint_t len); |