move concurrency_set into the public API

oops, it was off in threadpool and wasn't being scanned
This commit is contained in:
John Cupitt 2016-09-09 08:52:14 +01:00
parent b566bc6b3d
commit fc9322f71b
2 changed files with 6 additions and 3 deletions

View File

@ -129,6 +129,12 @@ void vips_cache_set_max_files( int max_files );
void vips_cache_set_dump( gboolean dump );
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
}
#endif /*__cplusplus*/

View File

@ -134,9 +134,6 @@ int vips_threadpool_run( VipsImage *im,
void vips_get_tile_size( VipsImage *im,
int *tile_width, int *tile_height, int *n_lines );
void vips_concurrency_set( int concurrency );
int vips_concurrency_get( void );
#ifdef __cplusplus
}
#endif /*__cplusplus*/