Skip to content
  • Ell's avatar
    app: add gimp_temp_buf_{lock,unlock}() · 12dde445
    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