@@ -71,7 +71,7 @@ ecma_dealloc_number (ecma_number_t *number_p) /**< number to be freed */
7171 *
7272 * @return pointer to allocated memory
7373 */
74- inline ecma_object_t * JERRY_ATTR_ALWAYS_INLINE
74+ extern inline ecma_object_t * JERRY_ATTR_ALWAYS_INLINE
7575ecma_alloc_object (void )
7676{
7777#if ENABLED (JERRY_MEM_STATS )
@@ -84,7 +84,7 @@ ecma_alloc_object (void)
8484/**
8585 * Dealloc memory from an ecma-object
8686 */
87- inline void JERRY_ATTR_ALWAYS_INLINE
87+ extern inline void JERRY_ATTR_ALWAYS_INLINE
8888ecma_dealloc_object (ecma_object_t * object_p ) /**< object to be freed */
8989{
9090#if ENABLED (JERRY_MEM_STATS )
@@ -99,7 +99,7 @@ ecma_dealloc_object (ecma_object_t *object_p) /**< object to be freed */
9999 *
100100 * @return pointer to allocated memory
101101 */
102- inline ecma_extended_object_t * JERRY_ATTR_ALWAYS_INLINE
102+ extern inline ecma_extended_object_t * JERRY_ATTR_ALWAYS_INLINE
103103ecma_alloc_extended_object (size_t size ) /**< size of object */
104104{
105105#if ENABLED (JERRY_MEM_STATS )
@@ -112,7 +112,7 @@ ecma_alloc_extended_object (size_t size) /**< size of object */
112112/**
113113 * Dealloc memory of an extended object
114114 */
115- inline void JERRY_ATTR_ALWAYS_INLINE
115+ extern inline void JERRY_ATTR_ALWAYS_INLINE
116116ecma_dealloc_extended_object (ecma_object_t * object_p , /**< extended object */
117117 size_t size ) /**< size of object */
118118{
@@ -128,7 +128,7 @@ ecma_dealloc_extended_object (ecma_object_t *object_p, /**< extended object */
128128 *
129129 * @return pointer to allocated memory
130130 */
131- inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
131+ extern inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
132132ecma_alloc_string (void )
133133{
134134#if ENABLED (JERRY_MEM_STATS )
@@ -141,7 +141,7 @@ ecma_alloc_string (void)
141141/**
142142 * Dealloc memory from ecma-string descriptor
143143 */
144- inline void JERRY_ATTR_ALWAYS_INLINE
144+ extern inline void JERRY_ATTR_ALWAYS_INLINE
145145ecma_dealloc_string (ecma_string_t * string_p ) /**< string to be freed */
146146{
147147#if ENABLED (JERRY_MEM_STATS )
@@ -156,7 +156,7 @@ ecma_dealloc_string (ecma_string_t *string_p) /**< string to be freed */
156156 *
157157 * @return pointer to allocated memory
158158 */
159- inline ecma_extended_string_t * JERRY_ATTR_ALWAYS_INLINE
159+ extern inline ecma_extended_string_t * JERRY_ATTR_ALWAYS_INLINE
160160ecma_alloc_extended_string (void )
161161{
162162#if ENABLED (JERRY_MEM_STATS )
@@ -169,7 +169,7 @@ ecma_alloc_extended_string (void)
169169/**
170170 * Dealloc memory from extended ecma-string descriptor
171171 */
172- inline void JERRY_ATTR_ALWAYS_INLINE
172+ extern inline void JERRY_ATTR_ALWAYS_INLINE
173173ecma_dealloc_extended_string (ecma_extended_string_t * ext_string_p ) /**< extended string to be freed */
174174{
175175#if ENABLED (JERRY_MEM_STATS )
@@ -184,7 +184,7 @@ ecma_dealloc_extended_string (ecma_extended_string_t *ext_string_p) /**< extende
184184 *
185185 * @return pointer to allocated memory
186186 */
187- inline ecma_external_string_t * JERRY_ATTR_ALWAYS_INLINE
187+ extern inline ecma_external_string_t * JERRY_ATTR_ALWAYS_INLINE
188188ecma_alloc_external_string (void )
189189{
190190#if ENABLED (JERRY_MEM_STATS )
@@ -197,7 +197,7 @@ ecma_alloc_external_string (void)
197197/**
198198 * Dealloc memory from external ecma-string descriptor
199199 */
200- inline void JERRY_ATTR_ALWAYS_INLINE
200+ extern inline void JERRY_ATTR_ALWAYS_INLINE
201201ecma_dealloc_external_string (ecma_external_string_t * ext_string_p ) /**< external string to be freed */
202202{
203203#if ENABLED (JERRY_MEM_STATS )
@@ -212,7 +212,7 @@ ecma_dealloc_external_string (ecma_external_string_t *ext_string_p) /**< externa
212212 *
213213 * @return pointer to allocated memory
214214 */
215- inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
215+ extern inline ecma_string_t * JERRY_ATTR_ALWAYS_INLINE
216216ecma_alloc_string_buffer (size_t size ) /**< size of string */
217217{
218218#if ENABLED (JERRY_MEM_STATS )
@@ -225,7 +225,7 @@ ecma_alloc_string_buffer (size_t size) /**< size of string */
225225/**
226226 * Dealloc memory of a string with character data
227227 */
228- inline void JERRY_ATTR_ALWAYS_INLINE
228+ extern inline void JERRY_ATTR_ALWAYS_INLINE
229229ecma_dealloc_string_buffer (ecma_string_t * string_p , /**< string with data */
230230 size_t size ) /**< size of string */
231231{
@@ -241,7 +241,7 @@ ecma_dealloc_string_buffer (ecma_string_t *string_p, /**< string with data */
241241 *
242242 * @return pointer to allocated memory
243243 */
244- inline ecma_property_pair_t * JERRY_ATTR_ALWAYS_INLINE
244+ extern inline ecma_property_pair_t * JERRY_ATTR_ALWAYS_INLINE
245245ecma_alloc_property_pair (void )
246246{
247247#if ENABLED (JERRY_MEM_STATS )
@@ -254,7 +254,7 @@ ecma_alloc_property_pair (void)
254254/**
255255 * Dealloc memory of an ecma-property
256256 */
257- inline void JERRY_ATTR_ALWAYS_INLINE
257+ extern inline void JERRY_ATTR_ALWAYS_INLINE
258258ecma_dealloc_property_pair (ecma_property_pair_t * property_pair_p ) /**< property pair to be freed */
259259{
260260#if ENABLED (JERRY_MEM_STATS )
0 commit comments