Function

Gimplib_directory

unstable since: 3.0.6

Declaration [src]

const gchar*
gimp_lib_directory (
  void
)

Description [src]

Returns the directory where GIMP would look for libraries. On Unix the compile-time defined installation prefix is used. On Windows and OSX, gimp_installation_directory() is consulted.

In config files such as gimprc, the string ${gimp_lib_dir} expands to this directory.

The returned string is owned by GIMP and must not be modified or freed. The returned string is in the encoding used for filenames by GLib, which isn’t necessarily UTF-8. (On Windows it always is UTF-8.).

Available since: 3.0.6

Return value

Type: const gchar*

The library directory of GIMP.

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.