bl/textfileutils.h
author ali <ali@juiblex.co.uk>
Sat Jul 20 11:07:02 2013 +0100 (2013-07-20)
changeset 76 4e6e7cc6b50d
parent 6 faab25d520dd
permissions -rw-r--r--
Give a useful error if input is neither UTF-8 nor Windows-1252
     1 #ifndef BL_TEXTFILEUTILS_H
     2 #define BL_TEXTFILEUTILS_H
     3 
     4 #include <glib.h>
     5 
     6 gboolean file_get_contents_text(const char *filename,char **contents,
     7   size_t *length,GError **err);
     8 
     9 #endif /* BL_TEXTFILEUTILS_H */