changed memory allocation to calloc instead of GC_MALLOC and finsihed ms_ui_utils
This commit is contained in:
parent
655af3fcf4
commit
9727928404
4 changed files with 321 additions and 10 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#define ___MS_UI_UTILS_H
|
||||
|
||||
#include "general.h"
|
||||
#include "config.h"
|
||||
|
||||
/**
|
||||
* Initializes the random number generator. It must be invoked
|
||||
|
|
@ -67,15 +68,6 @@ CellIdx msu_col_address_to_index(ColAddr addr);
|
|||
*/
|
||||
CellIdx msu_row_address_to_index(RowAddr addr);
|
||||
|
||||
/**
|
||||
* Maps the given column address to the corresponding cell index.
|
||||
*
|
||||
* @param addr The column address to map.
|
||||
* @return CellIdx The corresponding cell index or 0,
|
||||
* if the address cannot be mapped.
|
||||
*/
|
||||
CellIdx msu_col_address_to_index(ColAddr addr);
|
||||
|
||||
/**
|
||||
* Provides the character a user may type to perform the given action.
|
||||
* The key must be unique for each action.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue