Added support for name normalisation when generating code for PostgreSQL so that generated artefact names are consistently exported in lowercase.

This commit is contained in:
Jose Hernandez
2021-07-31 15:47:05 +01:00
parent ce4cf5acbf
commit afc6f4888b
5 changed files with 90 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ typedef const void * gconstpointer;
typedef uint8_t guint8;
typedef guint32 GQuark;
typedef guint32 gunichar;
typedef signed int gssize;
typedef guint (*GHashFunc)(gconstpointer);
typedef int (*GCompareFunc)(gconstpointer, gconstpointer);
@@ -143,6 +144,7 @@ void g_printerr(const gchar *format, ...);
gint g_unichar_to_utf8(gunichar c, gchar *dst);
gchar *g_locale_to_utf8(const gchar *opsysstring, size_t len,
size_t *bytes_read, size_t *bytes_written, GError **error);
gchar *g_utf8_strdown(const gchar *str, gssize len);
/* GString */
GString *g_string_new(const gchar *init);