pinosaur
/
smdp.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed build error, #87
[smdp.git]
/
include
/
cstring.h
diff --git
a/include/cstring.h
b/include/cstring.h
index
d74cd80
..
506b52c
100644
(file)
--- a/
include/cstring.h
+++ b/
include/cstring.h
@@
-3,7
+3,7
@@
/*
* An implementation of expandable c strings in heap memory.
/*
* An implementation of expandable c strings in heap memory.
- * Copyright (C) 201
4
Michael Goehler
+ * Copyright (C) 201
5
Michael Goehler
*
* This file is part of mdp.
*
*
* This file is part of mdp.
*
@@
-42,7
+42,7
@@
#define REALLOC_ADD 10
typedef struct _cstring_t {
#define REALLOC_ADD 10
typedef struct _cstring_t {
- wchar_t *
text
;
+ wchar_t *
value
;
size_t size;
size_t alloc;
void (*expand)(struct _cstring_t *self, wchar_t x);
size_t size;
size_t alloc;
void (*expand)(struct _cstring_t *self, wchar_t x);