diff options
author | David Robillard <d@drobilla.net> | 2008-11-08 19:53:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-08 19:53:30 +0000 |
commit | 0ff919f9b56903952aa76cd0315ccb808a7bd59c (patch) | |
tree | dca34d4f06f74fdea189e36f256dec071c9e4d0d /src/slv2_internal.h | |
parent | f6e5dcc1a59c4d4103718d3dbf3ee77096eeaa88 (diff) | |
download | lilv-0ff919f9b56903952aa76cd0315ccb808a7bd59c.tar.gz lilv-0ff919f9b56903952aa76cd0315ccb808a7bd59c.tar.bz2 lilv-0ff919f9b56903952aa76cd0315ccb808a7bd59c.zip |
Support i18n literals via LANG environment variable.
Apply patch from larsl (ticket #186).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1705 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r-- | src/slv2_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h index 40ddbac..f5c0ace 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -25,6 +25,7 @@ extern "C" { #include <stdbool.h> #include <stddef.h> +#include <stdlib.h> #include <inttypes.h> #include <librdf.h> #include "slv2/types.h" @@ -243,6 +244,9 @@ void slv2_scale_point_free(SLV2ScalePoint point); char* slv2_strjoin(const char* first, ...); +/* I18N utility functions */ +char* slv2_get_lang(); + #ifdef __cplusplus } |