Type and naming cleanup
Do not use Hi prefic for things that shouldn't be visible to outside code
This commit is contained in:
9
include/hitypes.h
Normal file
9
include/hitypes.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef HITYPES_H_
|
||||
#define HITYPES_H_
|
||||
|
||||
typedef enum { HI_FAIL = 0, HI_OK } HiResult;
|
||||
|
||||
#define HIOK(res) ((res) == HI_OK)
|
||||
|
||||
|
||||
#endif // HITYPES_H_
|
||||
Reference in New Issue
Block a user