Replacing 'ecma_Free' prefix in ecma_Free{Object,Property,Number,ArrayFirstChunk,ArrayNonFirstChunk} to 'ecma_Dealloc'.

This commit is contained in:
Ruben Ayrapetyan
2014-07-16 21:13:23 +04:00
parent b72185696a
commit 6918db2f59
5 changed files with 23 additions and 21 deletions
+11 -11
View File
@@ -33,9 +33,9 @@
extern ecma_Object_t *ecma_AllocObject(void);
/**
* Free memory from an ecma-object
* Dealloc memory from an ecma-object
*/
extern void ecma_FreeObject( ecma_Object_t *pObject);
extern void ecma_DeallocObject( ecma_Object_t *pObject);
/**
* Allocate memory for ecma-property
@@ -45,9 +45,9 @@ extern void ecma_FreeObject( ecma_Object_t *pObject);
extern ecma_Property_t *ecma_AllocProperty(void);
/**
* Free memory from an ecma-property
* Dealloc memory from an ecma-property
*/
extern void ecma_FreeProperty( ecma_Property_t *pProperty);
extern void ecma_DeallocProperty( ecma_Property_t *pProperty);
/**
* Allocate memory for ecma-number
@@ -57,9 +57,9 @@ extern void ecma_FreeProperty( ecma_Property_t *pProperty);
extern ecma_Number_t *ecma_AllocNumber(void);
/**
* Free memory from an ecma-number
* Dealloc memory from an ecma-number
*/
extern void ecma_FreeNumber( ecma_Number_t *pNumber);
extern void ecma_DeallocNumber( ecma_Number_t *pNumber);
/**
* Allocate memory for first chunk of an ecma-array
@@ -69,9 +69,9 @@ extern void ecma_FreeNumber( ecma_Number_t *pNumber);
extern ecma_ArrayFirstChunk_t *ecma_AllocArrayFirstChunk(void);
/**
* Free memory from first chunk of an ecma-array
* Dealloc memory from first chunk of an ecma-array
*/
extern void ecma_FreeArrayFirstChunk( ecma_ArrayFirstChunk_t *pFirstChunk);
extern void ecma_DeallocArrayFirstChunk( ecma_ArrayFirstChunk_t *pFirstChunk);
/**
* Allocate memory for non-first chunk of an ecma-array
@@ -81,13 +81,13 @@ extern void ecma_FreeArrayFirstChunk( ecma_ArrayFirstChunk_t *pFirstChunk);
extern ecma_ArrayNonFirstChunk_t *ecma_AllocArrayNonFirstChunk(void);
/**
* Free memory from non-first chunk of an ecma-array
* Dealloc memory from non-first chunk of an ecma-array
*/
extern void ecma_FreeArrayNonFirstChunk( ecma_ArrayNonFirstChunk_t *pNumber);
extern void ecma_DeallocArrayNonFirstChunk( ecma_ArrayNonFirstChunk_t *pNumber);
#endif /* JERRY_ECMA_ALLOC_H */
/**
* @}
* @}
*/
*/