Renaming mem_* identifiers from 'camelCase' to 'underscore_naming'.

This commit is contained in:
Ruben Ayrapetyan
2014-07-23 12:21:07 +04:00
parent 2d4ed154ee
commit b3b4c74cbe
13 changed files with 307 additions and 307 deletions
+8 -8
View File
@@ -25,7 +25,7 @@
/**
* Area for heap
*/
static uint8_t mem_HeapArea[ MEM_HEAP_AREA_SIZE ] __attribute__((aligned(MEM_ALIGNMENT)));
static uint8_t mem_heap_area[ MEM_HEAP_AREA_SIZE ] __attribute__((aligned(MEM_ALIGNMENT)));
/**
* Check that heap area is less or equal than 64K.
@@ -36,17 +36,17 @@ JERRY_STATIC_ASSERT( MEM_HEAP_AREA_SIZE <= 64 * 1024 );
* Initialize memory allocators.
*/
void
mem_Init( void)
mem_init( void)
{
mem_HeapInit( mem_HeapArea, sizeof (mem_HeapArea));
mem_PoolsInit();
} /* mem_Init */
mem_heap_init( mem_heap_area, sizeof (mem_heap_area));
mem_pools_init();
} /* mem_init */
/**
* Get base pointer for allocation area.
*/
uintptr_t
mem_GetBasePointer( void)
mem_get_base_pointer( void)
{
return (uintptr_t) mem_HeapArea;
} /* mem_GetBasePointer */
return (uintptr_t) mem_heap_area;
} /* mem_get_base_pointer */