Add a bunch more consts to Xft and fontconfig apis
This commit is contained in:
parent
0ce819b609
commit
bff801144b
|
@ -33,7 +33,7 @@ FcCharSet *
|
||||||
FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks);
|
FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetFTFace (FcPattern *p, const char *object, int n, FT_Face *f);
|
FcPatternGetFTFace (const FcPattern *p, const char *object, int n, FT_Face *f);
|
||||||
|
|
||||||
FcBool
|
FcBool
|
||||||
FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);
|
FcPatternAddFTFace (FcPattern *p, const char *object, const FT_Face f);
|
||||||
|
|
|
@ -37,7 +37,7 @@ typedef int FcBool;
|
||||||
*/
|
*/
|
||||||
#define FC_MAJOR 1
|
#define FC_MAJOR 1
|
||||||
#define FC_MINOR 0
|
#define FC_MINOR 0
|
||||||
#define FC_REVISION 1
|
#define FC_REVISION 2
|
||||||
|
|
||||||
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
|
||||||
|
|
||||||
|
@ -600,7 +600,7 @@ FcPattern *
|
||||||
FcPatternCreate (void);
|
FcPatternCreate (void);
|
||||||
|
|
||||||
FcPattern *
|
FcPattern *
|
||||||
FcPatternDuplicate (FcPattern *p);
|
FcPatternDuplicate (const FcPattern *p);
|
||||||
|
|
||||||
void
|
void
|
||||||
FcPatternReference (FcPattern *p);
|
FcPatternReference (FcPattern *p);
|
||||||
|
@ -633,7 +633,7 @@ FcBool
|
||||||
FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);
|
FcPatternAddWeak (FcPattern *p, const char *object, FcValue value, FcBool append);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGet (FcPattern *p, const char *object, int id, FcValue *v);
|
FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v);
|
||||||
|
|
||||||
FcBool
|
FcBool
|
||||||
FcPatternDel (FcPattern *p, const char *object);
|
FcPatternDel (FcPattern *p, const char *object);
|
||||||
|
@ -660,25 +660,25 @@ FcBool
|
||||||
FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
|
FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetInteger (FcPattern *p, const char *object, int n, int *i);
|
FcPatternGetInteger (const FcPattern *p, const char *object, int n, int *i);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetDouble (FcPattern *p, const char *object, int n, double *d);
|
FcPatternGetDouble (const FcPattern *p, const char *object, int n, double *d);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetString (FcPattern *p, const char *object, int n, FcChar8 ** s);
|
FcPatternGetString (const FcPattern *p, const char *object, int n, FcChar8 ** s);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetMatrix (FcPattern *p, const char *object, int n, FcMatrix **s);
|
FcPatternGetMatrix (const FcPattern *p, const char *object, int n, FcMatrix **s);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetCharSet (FcPattern *p, const char *object, int n, FcCharSet **c);
|
FcPatternGetCharSet (const FcPattern *p, const char *object, int n, FcCharSet **c);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetBool (FcPattern *p, const char *object, int n, FcBool *b);
|
FcPatternGetBool (const FcPattern *p, const char *object, int n, FcBool *b);
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetLangSet (FcPattern *p, const char *object, int n, FcLangSet **ls);
|
FcPatternGetLangSet (const FcPattern *p, const char *object, int n, FcLangSet **ls);
|
||||||
|
|
||||||
FcPattern *
|
FcPattern *
|
||||||
FcPatternVaBuild (FcPattern *orig, va_list va);
|
FcPatternVaBuild (FcPattern *orig, va_list va);
|
||||||
|
|
20
src/fcpat.c
20
src/fcpat.c
|
@ -856,7 +856,7 @@ FcPatternAddLangSet (FcPattern *p, const char *object, const FcLangSet *ls)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGet (FcPattern *p, const char *object, int id, FcValue *v)
|
FcPatternGet (const FcPattern *p, const char *object, int id, FcValue *v)
|
||||||
{
|
{
|
||||||
FcPatternElt *e;
|
FcPatternElt *e;
|
||||||
FcValueList *l;
|
FcValueList *l;
|
||||||
|
@ -877,7 +877,7 @@ FcPatternGet (FcPattern *p, const char *object, int id, FcValue *v)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetInteger (FcPattern *p, const char *object, int id, int *i)
|
FcPatternGetInteger (const FcPattern *p, const char *object, int id, int *i)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -899,7 +899,7 @@ FcPatternGetInteger (FcPattern *p, const char *object, int id, int *i)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetDouble (FcPattern *p, const char *object, int id, double *d)
|
FcPatternGetDouble (const FcPattern *p, const char *object, int id, double *d)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -921,7 +921,7 @@ FcPatternGetDouble (FcPattern *p, const char *object, int id, double *d)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetString (FcPattern *p, const char *object, int id, FcChar8 ** s)
|
FcPatternGetString (const FcPattern *p, const char *object, int id, FcChar8 ** s)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -936,7 +936,7 @@ FcPatternGetString (FcPattern *p, const char *object, int id, FcChar8 ** s)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetMatrix (FcPattern *p, const char *object, int id, FcMatrix **m)
|
FcPatternGetMatrix(const FcPattern *p, const char *object, int id, FcMatrix **m)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -952,7 +952,7 @@ FcPatternGetMatrix (FcPattern *p, const char *object, int id, FcMatrix **m)
|
||||||
|
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetBool (FcPattern *p, const char *object, int id, FcBool *b)
|
FcPatternGetBool(const FcPattern *p, const char *object, int id, FcBool *b)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -967,7 +967,7 @@ FcPatternGetBool (FcPattern *p, const char *object, int id, FcBool *b)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetCharSet (FcPattern *p, const char *object, int id, FcCharSet **c)
|
FcPatternGetCharSet(const FcPattern *p, const char *object, int id, FcCharSet **c)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -982,7 +982,7 @@ FcPatternGetCharSet (FcPattern *p, const char *object, int id, FcCharSet **c)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetFTFace (FcPattern *p, const char *object, int id, FT_Face *f)
|
FcPatternGetFTFace(const FcPattern *p, const char *object, int id, FT_Face *f)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -997,7 +997,7 @@ FcPatternGetFTFace (FcPattern *p, const char *object, int id, FT_Face *f)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcResult
|
FcResult
|
||||||
FcPatternGetLangSet (FcPattern *p, const char *object, int id, FcLangSet **ls)
|
FcPatternGetLangSet(const FcPattern *p, const char *object, int id, FcLangSet **ls)
|
||||||
{
|
{
|
||||||
FcValue v;
|
FcValue v;
|
||||||
FcResult r;
|
FcResult r;
|
||||||
|
@ -1012,7 +1012,7 @@ FcPatternGetLangSet (FcPattern *p, const char *object, int id, FcLangSet **ls)
|
||||||
}
|
}
|
||||||
|
|
||||||
FcPattern *
|
FcPattern *
|
||||||
FcPatternDuplicate (FcPattern *orig)
|
FcPatternDuplicate (const FcPattern *orig)
|
||||||
{
|
{
|
||||||
FcPattern *new;
|
FcPattern *new;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue