d2c41502a4
This commit pushes --disable-glib to the extreme of embedding the par of glib cogl depends on in tree to be able to generate a DSO that does not depend on an external glib. To do so, it: - keeps a lot of glib's configure.ac in as-glibconfig.m4 - pulls the code cogl depends on and the necessary dependencies Reviewed-by: Robert Bragg <robert@linux.intel.com>
31 lines
857 B
C
31 lines
857 B
C
#include "gstrfuncs.h"
|
|
#include "gconvert.h"
|
|
|
|
gchar*
|
|
g_convert_with_fallback (const gchar *str,
|
|
gssize len,
|
|
const gchar *to_codeset,
|
|
const gchar *from_codeset,
|
|
const gchar *fallback,
|
|
gsize *bytes_read,
|
|
gsize *bytes_written,
|
|
GError **error)
|
|
{
|
|
return g_strdup(str);
|
|
}
|
|
|
|
gchar*
|
|
g_locale_to_utf8 (const gchar *opsysstring,
|
|
gssize len,
|
|
gsize *bytes_read,
|
|
gsize *bytes_written,
|
|
GError **error)
|
|
{
|
|
return g_strdup(opsysstring);
|
|
}
|
|
|
|
gchar *
|
|
g_filename_display_name (const gchar *filename)
|
|
{
|
|
return g_strdup(filename);
|
|
}
|