Fixes ENABLE_AMALGAM need FORCE set to ON when building with MSVC (#4392)
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
@@ -543,7 +543,7 @@ lit_cesu8_peek_prev (const lit_utf8_byte_t *buf_p) /**< [in,out] buffer with cha
|
||||
/**
|
||||
* Increase cesu-8 encoded string pointer by one code unit.
|
||||
*/
|
||||
inline void JERRY_ATTR_ALWAYS_INLINE
|
||||
extern inline void JERRY_ATTR_ALWAYS_INLINE
|
||||
lit_utf8_incr (const lit_utf8_byte_t **buf_p) /**< [in,out] buffer with characters */
|
||||
{
|
||||
JERRY_ASSERT (*buf_p);
|
||||
@@ -579,7 +579,7 @@ lit_utf8_decr (const lit_utf8_byte_t **buf_p) /**< [in,out] buffer with characte
|
||||
*
|
||||
* @return ecma-string's hash
|
||||
*/
|
||||
inline lit_string_hash_t JERRY_ATTR_ALWAYS_INLINE
|
||||
extern inline lit_string_hash_t JERRY_ATTR_ALWAYS_INLINE
|
||||
lit_utf8_string_hash_combine (lit_string_hash_t hash_basis, /**< hash to be combined with */
|
||||
const lit_utf8_byte_t *utf8_buf_p, /**< characters buffer */
|
||||
lit_utf8_size_t utf8_buf_size) /**< number of characters in the buffer */
|
||||
@@ -602,7 +602,7 @@ lit_utf8_string_hash_combine (lit_string_hash_t hash_basis, /**< hash to be comb
|
||||
*
|
||||
* @return ecma-string's hash
|
||||
*/
|
||||
inline lit_string_hash_t JERRY_ATTR_ALWAYS_INLINE
|
||||
extern inline lit_string_hash_t JERRY_ATTR_ALWAYS_INLINE
|
||||
lit_utf8_string_calc_hash (const lit_utf8_byte_t *utf8_buf_p, /**< characters buffer */
|
||||
lit_utf8_size_t utf8_buf_size) /**< number of characters in the buffer */
|
||||
{
|
||||
@@ -643,7 +643,7 @@ lit_utf8_string_code_unit_at (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 stri
|
||||
*
|
||||
* @return number of bytes occupied in CESU-8
|
||||
*/
|
||||
inline lit_utf8_size_t JERRY_ATTR_ALWAYS_INLINE
|
||||
extern inline lit_utf8_size_t JERRY_ATTR_ALWAYS_INLINE
|
||||
lit_get_unicode_char_size_by_utf8_first_byte (const lit_utf8_byte_t first_byte) /**< buffer with characters */
|
||||
{
|
||||
if ((first_byte & LIT_UTF8_1_BYTE_MASK) == LIT_UTF8_1_BYTE_MARKER)
|
||||
|
||||
Reference in New Issue
Block a user