From 77f3b22e937c212fb330a18b3f1924b3a7539122 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 15 May 2022 18:36:46 +0200 Subject: Complete what adding gp_init_localedir() started Complete what adding the gp_init_localedir() function implied: * only set success flag in the success case * consistent use of "initialize" spelling * add analogous gp_port_init_localedir() function * implement and document edge cases * update NEWS --- libgphoto2_port/gphoto2/gphoto2-port-info-list.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgphoto2_port/gphoto2') diff --git a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h index 9fe85a123..53f9ef39d 100644 --- a/libgphoto2_port/gphoto2/gphoto2-port-info-list.h +++ b/libgphoto2_port/gphoto2/gphoto2-port-info-list.h @@ -94,6 +94,9 @@ int gp_port_info_list_get_info (GPPortInfoList *list, int n, GPPortInfo *info); const char *gp_port_message_codeset (const char*); +int gp_port_init_localedir (const char *localedir); + + /** * Name of the environment variable which may contain the path where * to look for the IO libs. If this environment variable is not defined, -- cgit v1.2.1