chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@@ so much mess
[mLib]
/
struct
/
dstr.h
diff --git
a/struct/dstr.h
b/struct/dstr.h
index 1c43cb720e1b74ab1b61b95627af809da6691a22..fedc48c70219759844f50ec34fa538d756181a0f 100644
(file)
--- a/
struct/dstr.h
+++ b/
struct/dstr.h
@@
-47,6
+47,7
@@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#ifndef MLIB_ALLOC_H
# include "alloc.h"
#ifndef MLIB_ALLOC_H
# include "alloc.h"
@@
-71,6
+72,8
@@
typedef struct dstr {
#define DSTR_INIT { 0, 0, 0, &arena_stdlib } /* How to initialize one */
#define DSTR_INIT { 0, 0, 0, &arena_stdlib } /* How to initialize one */
+extern const struct gprintf_ops dstr_printops;
+
/*----- Functions provided ------------------------------------------------*/
/* --- @dstr_create@ --- *
/*----- Functions provided ------------------------------------------------*/
/* --- @dstr_create@ --- *