move concurrency_set into the public API
oops, it was off in threadpool and wasn't being scanned
This commit is contained in:
parent
b566bc6b3d
commit
fc9322f71b
@ -129,6 +129,12 @@ void vips_cache_set_max_files( int max_files );
|
|||||||
void vips_cache_set_dump( gboolean dump );
|
void vips_cache_set_dump( gboolean dump );
|
||||||
void vips_cache_set_trace( gboolean trace );
|
void vips_cache_set_trace( gboolean trace );
|
||||||
|
|
||||||
|
/* Part of threadpool, really, but we want these in a header that gets scanned
|
||||||
|
* for our typelib.
|
||||||
|
*/
|
||||||
|
void vips_concurrency_set( int concurrency );
|
||||||
|
int vips_concurrency_get( void );
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /*__cplusplus*/
|
#endif /*__cplusplus*/
|
||||||
|
@ -134,9 +134,6 @@ int vips_threadpool_run( VipsImage *im,
|
|||||||
void vips_get_tile_size( VipsImage *im,
|
void vips_get_tile_size( VipsImage *im,
|
||||||
int *tile_width, int *tile_height, int *n_lines );
|
int *tile_width, int *tile_height, int *n_lines );
|
||||||
|
|
||||||
void vips_concurrency_set( int concurrency );
|
|
||||||
int vips_concurrency_get( void );
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /*__cplusplus*/
|
#endif /*__cplusplus*/
|
||||||
|
Loading…
Reference in New Issue
Block a user