*/
#define FC_MAJOR 2
-#define FC_MINOR 2
-#define FC_REVISION 99
+#define FC_MINOR 3
+#define FC_REVISION 2
#define FC_VERSION ((FC_MAJOR * 10000) + (FC_MINOR * 100) + (FC_REVISION))
FcResultOutOfMemory
} FcResult;
+typedef enum _FcStorage {
+ FcStorageStatic, FcStorageDynamic
+} FcStorage;
+
typedef struct _FcPattern FcPattern;
typedef struct _FcLangSet FcLangSet;
+typedef struct _FcMatrixPtr {
+ FcStorage storage;
+ union {
+ int stat;
+ FcMatrix *dyn;
+ } u;
+} FcMatrixPtr;
+
+typedef struct _FcCharSetPtr {
+ FcStorage storage;
+ union {
+ int stat;
+ FcCharSet *dyn;
+ } u;
+} FcCharSetPtr;
+
+typedef struct _FcLangSetPtr {
+ FcStorage storage;
+ union {
+ int stat;
+ FcLangSet *dyn;
+ } u;
+} FcLangSetPtr;
+
+typedef struct _FcObjectPtr {
+ FcStorage storage;
+ union {
+ int stat;
+ const FcChar8 * dyn;
+ } u;
+ FcChar32 hash;
+} FcObjectPtr;
+
typedef struct _FcValue {
FcType type;
union {
- const FcChar8 *s;
+ FcObjectPtr si;
int i;
FcBool b;
double d;
- const FcMatrix *m;
- const FcCharSet *c;
+ FcMatrixPtr mi;
+ FcCharSetPtr ci;
void *f;
const FcPattern *p;
- const FcLangSet *l;
+ FcLangSetPtr li;
} u;
} FcValue;
typedef struct _FcObjectSet {
int nobject;
int sobject;
- const char **objects;
+ FcObjectPtr *objects;
} FcObjectSet;
typedef enum _FcMatchKind {
void
FcMatrixShear (FcMatrix *m, double sh, double sv);
+FcMatrix *
+FcMatrixPtrU (FcMatrixPtr mi);
+
/* fcname.c */
FcBool