mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
refactor: remove dc-strbuilder
This commit is contained in:
committed by
GitHub
parent
4e41dbf5ab
commit
af8d056206
14
misc.h
14
misc.h
@@ -1,15 +1 @@
|
||||
#define DC_MAX(X, Y) (((X) > (Y))? (X) : (Y))
|
||||
|
||||
typedef struct _dc_strbuilder dc_strbuilder_t;
|
||||
|
||||
struct _dc_strbuilder
|
||||
{
|
||||
char* buf;
|
||||
int allocated;
|
||||
int free;
|
||||
char* eos;
|
||||
};
|
||||
|
||||
|
||||
char* dc_mprintf (const char* format, ...); /* The result must be free()'d. */
|
||||
void dc_strbuilder_catf (dc_strbuilder_t*, const char* format, ...);
|
||||
|
||||
Reference in New Issue
Block a user