-
Ell authored
In GimpTempBuf, add gimp_temp_buf_lock() and gimp_temp_buf_unlock() functions, which lock/unlock the buffer for data access. Unlike gimp_temp_buf_get_data(), which returns a direct pointer to the buffer's data, the new functions take a format parameter and may return a temporary buffer, allowing the buffer to be accessed using an arbitrary format.
12dde445