diff options
author | marha <marha@users.sourceforge.net> | 2014-05-18 14:43:25 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-05-18 14:43:25 +0200 |
commit | a27ca45b676116ebbce31973bc1a319cad76ffbf (patch) | |
tree | 098711ced704936739bc91abbd75942a815d89db /fontconfig/src/fccharset.c | |
parent | 0b89941658d6117d17555ee28c6e5d7715673705 (diff) | |
parent | 55cf29d7f748b814a2b8eb016fbf15635d56aa53 (diff) | |
download | vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.tar.gz vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.tar.bz2 vcxsrv-a27ca45b676116ebbce31973bc1a319cad76ffbf.zip |
Merge remote-tracking branch 'origin/released'
Conflicts:
mesalib/src/glsl/builtin_functions.cpp
Diffstat (limited to 'fontconfig/src/fccharset.c')
-rw-r--r-- | fontconfig/src/fccharset.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fontconfig/src/fccharset.c b/fontconfig/src/fccharset.c index c9f928cd4..43a3cc00a 100644 --- a/fontconfig/src/fccharset.c +++ b/fontconfig/src/fccharset.c @@ -43,6 +43,21 @@ FcCharSetCreate (void) } FcCharSet * +FcCharSetPromote (FcValuePromotionBuffer *vbuf) +{ + FcCharSet *fcs = (FcCharSet *) vbuf; + + FC_ASSERT_STATIC (sizeof (FcCharSet) <= sizeof (FcValuePromotionBuffer)); + + FcRefSetConst (&fcs->ref); + fcs->num = 0; + fcs->leaves_offset = 0; + fcs->numbers_offset = 0; + + return fcs; +} + +FcCharSet * FcCharSetNew (void) { return FcCharSetCreate (); |