renamed mbag_type_dword to mtype_dword

FossilOrigin-Name: 097403acc295aa952e31b47f3953d1cc6ba5c68814200e1a756efcd5c411e838
This commit is contained in:
7u83@mail.ru 2018-02-18 13:11:30 +00:00
parent d5d3723e55
commit 597d06e2c2
2 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ typedef struct mbag_item mbag_item_t;
extern const struct mbag_typedef mbag_type_byte;
extern const struct mbag_typedef mbag_type_word;
extern const struct mbag_typedef mbag_type_dword;
extern const struct mbag_typedef mtype_dword;
extern const struct mbag_typedef mbag_type_mbag;
extern const struct mbag_typedef mbag_type_bstr;
extern const struct mbag_typedef mbag_type_bstr16;
@ -132,7 +132,7 @@ extern const struct mbag_typedef mbag_type_data;
/** MBAG_WORD stores one word */
#define MBAG_WORD (&mbag_type_word)
/** MBAG_DWORD stores one dword */
#define MBAG_DWORD (&mbag_type_dword)
#define MBAG_DWORD (&mtype_dword)
/** MBAG_MBAG stores an MBAG */
#define MBAG_MBAG (&mbag_type_mbag)
#define MBAG_MBAG_DYN (&mbag_type_mbag_dyn)
@ -221,7 +221,7 @@ static inline struct mbag_item * mbag_set_dword(mbag_t s, const char *id, uint32
if (!i)
return NULL;
i->dword = dword;
i->type = &mbag_type_dword;
i->type = &mtype_dword;
return i;
}

View File

@ -51,7 +51,7 @@ static int put(struct mbag_item * i, uint8_t *dst)
}
const struct mbag_typedef mbag_type_dword = {
const struct mbag_typedef mtype_dword = {
.name = "Dword",
.del = NULL,
.to_str = to_str,