ext/cstring.h in pixeltrix-rdiscount-1.2.11 vs ext/cstring.h in pixeltrix-rdiscount-1.3.4
- old
+ new
@@ -48,10 +48,11 @@
/* reference-style links (and images) are stored in an array
*/
#define T(x) (x).text
#define S(x) (x).size
+#define ALL(x) (x).alloc
/* abstract anchor type that defines a list base
* with a function that attaches an element to
* the end of the list.
*
@@ -62,7 +63,11 @@
#define ATTACH(t, p) ( (t).text ?( ((t).end->next = (p)), ((t).end = (p)) ) \
:( ((t).text = (t).end = (p)) ) )
typedef STRING(char) Cstring;
+
+extern void Csputc(int, Cstring *);
+extern int Csprintf(Cstring *, char *, ...);
+extern void Csreparse(Cstring *, char *, int, int);
#endif/*_CSTRING_D*/