doc polish

This commit is contained in:
John Cupitt 2019-12-01 15:29:28 +00:00
parent 43fff7b10d
commit ae7aaea077
3 changed files with 4 additions and 4 deletions

View File

@ -71,11 +71,11 @@
* *
* <emphasis>Functional class creation</emphasis> Vips objects have a very * <emphasis>Functional class creation</emphasis> Vips objects have a very
* regular lifecycle: initialise, build, use, destroy. They behave rather like * regular lifecycle: initialise, build, use, destroy. They behave rather like
* function calls and are free of side-effects. * function calls and are free of side-effects.
* *
* <emphasis>Run-time introspection</emphasis> Vips objects can be fully * <emphasis>Run-time introspection</emphasis> Vips objects can be fully
* introspected at run-time. There is not need for separate source-code * introspected at run-time. There is no need for separate source-code
* analysis. * analysis.
* *
* <emphasis>Command-line interface</emphasis> Any vips object can be run from * <emphasis>Command-line interface</emphasis> Any vips object can be run from
* the command-line with the `vips` driver program. * the command-line with the `vips` driver program.

View File

@ -797,6 +797,7 @@ vips_streami_descriptor_to_memory( VipsStreami *streami )
g_assert( streami->length > 0 ); g_assert( streami->length > 0 );
g_assert( !streami->blob ); g_assert( !streami->blob );
g_assert( !streami->mmap_baseaddr );
if( !(streami->mmap_baseaddr = vips__mmap( stream->descriptor, if( !(streami->mmap_baseaddr = vips__mmap( stream->descriptor,
FALSE, streami->length, 0 )) ) FALSE, streami->length, 0 )) )

View File

@ -9,7 +9,6 @@ import pytest
import pyvips import pyvips
from helpers import \ from helpers import \
JPEG_FILE, PNG_FILE, TIF_FILE, \ JPEG_FILE, PNG_FILE, TIF_FILE, \
WEBP_FILE, \
temp_filename, assert_almost_equal_objects, have, skip_if_no temp_filename, assert_almost_equal_objects, have, skip_if_no