]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcint.h
[fcstr.c] Embed a static 64-byte buffer in FcStrBuf
[fontconfig.git] / src / fcint.h
index 0b41d593ce97bd66bf88459ca164a1e4c6e3ac15..be520e78624cf522e34731a321d69a52fad65f9b 100644 (file)
@@ -313,6 +313,7 @@ typedef struct _FcStrBuf {
     FcBool  failed;
     int            len;
     int            size;
+    FcChar8 buf_static[16 * sizeof (void *)];
 } FcStrBuf;
 
 struct _FcCache {
@@ -645,6 +646,11 @@ FcNameUnparseCharSet (FcStrBuf *buf, const FcCharSet *c);
 FcPrivate FcCharSet *
 FcNameParseCharSet (FcChar8 *string);
 
+FcPrivate FcBool
+FcNameUnparseValue (FcStrBuf    *buf,
+                    FcValue     *v0,
+                   FcChar8     *escape);
+
 FcPrivate FcBool
 FcNameUnparseValueList (FcStrBuf       *buf,
                        FcValueListPtr  v,