Skip to content
  • Wim Taymans's avatar
    memory improvements · a1d7bd02
    Wim Taymans authored
    Make the memory object simply manage the data pointer and the maxsize and move
    the offset and size handling to common functionality.
    Use the READONLY flag to set a readonly lock.
    Remove the data and size fields from the unmap method. We need an explicit
    resize operation instead of using the unmap function.
    Make internal helper lock and unlock functions.
    Update unit test and users of the old API.
    a1d7bd02