Typedef'd some structs to make code readability easier
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct modb_t {
|
||||
struct modb_ref_t {
|
||||
const char *name;
|
||||
size_t name_len;
|
||||
};
|
||||
typedef struct modb_ref_t modb_ref;
|
||||
|
||||
|
||||
#endif // H__MODB_TYPES__
|
||||
|
||||
Reference in New Issue
Block a user