]> git.wh0rd.org - fontconfig.git/blobdiff - fc-lang/fc-lang.c
Build fclang.h before building library This required compiling the charset
[fontconfig.git] / fc-lang / fc-lang.c
index d6f035a0f0bc65cd6e0a9504bcc228aba5d483fc..960c56c3b108a721c87f8abf554be40da4769dfa 100644 (file)
  */
 
 #include "fcint.h"
+#include "fccharset.c"
+#include "fcstr.c"
 
 /*
  * fc-lang
  *
  * Read a set of language orthographies and build C declarations for
  * charsets which can then be used to identify which languages are
- * supported by a given font.  Note that it would be nice if
- * this could be done while compiling the library, but this
- * code uses a number of routines from the library.  It's
- * expediant to just ship the pre-built version along with the
- * source orthographies.
+ * supported by a given font.  Note that this uses some utilities
+ * from the fontconfig library, so the necessary file is simply
+ * included in this compilation.  A couple of extra utility
+ * functions are also needed in slightly modified form
  */
 
+void
+FcMemAlloc (int kind, int size)
+{
+}
+
+void
+FcMemFree (int kind, int size)
+{
+}
+
 static void 
 fatal (char *file, int lineno, char *msg)
 {