Put method added.

FossilOrigin-Name: 219a26f64ffba7f2484aa60229c549161ba03464f6e5b67a336ad42826601f18
This commit is contained in:
7u83@mail.ru 2016-03-28 09:10:20 +00:00
parent fdabbf47de
commit a0db6068a1
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ struct mbag_typedef{
/** Cereate an item of this type from a string, which was previously
created by the #del function. */
struct mbag_item * (*from_str)(const char *src);
/** A method to put this object to a buffer */
int (*put)(void *,uint8_t*dst);
};
/** The type for an mbag typedef */