Function
GeglBufferswap_create_file
Declaration [src]
gchar*
gegl_buffer_swap_create_file (
const gchar* suffix
)
Description [src]
Generates a unique filename in the GEGL swap directory, suitable for
using as swap space. When the file is no longer needed, it may be
removed with gegl_buffer_swap_remove_file(); otherwise, it will be
removed when gegl_exit()
is called.
Parameters
suffix |
const gchar* |
A string to suffix the filename with, for
identification purposes, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | gchar* |
A string containing the full
file path, or |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . | |
The value is a file system path, using the OS encoding. |