Create typedef for IDs
There was a code, where id for something was u32, and u16 for other things. I have created a typedef to fix that Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
@@ -45,4 +45,10 @@
|
||||
*/
|
||||
typedef uint32_t rse_err_t;
|
||||
|
||||
/**
|
||||
* @brief General type for ID use
|
||||
*
|
||||
*/
|
||||
typedef uint32_t rse_id_t;
|
||||
|
||||
#endif /* COMMONS_H */
|
||||
|
||||
Reference in New Issue
Block a user