Akihiro Sagawa sagawa.aki@gmail.com writes:
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com
include/wine/library.h | 1 + libs/wine/mmap.c | 23 ++++++++++++++++++++++- libs/wine/wine.map | 1 + 3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/include/wine/library.h b/include/wine/library.h index 242bb69..0920c60 100644 --- a/include/wine/library.h +++ b/include/wine/library.h @@ -79,6 +79,7 @@ extern void *wine_anon_mmap( void *start, size_t size, int prot, int flags ); extern void wine_mmap_add_reserved_area( void *addr, size_t size ); extern void wine_mmap_remove_reserved_area( void *addr, size_t size, int unmap ); extern int wine_mmap_is_in_reserved_area( void *addr, size_t size ); +extern int wine_mmap_is_in_reserved_area_ex( void *addr, size_t size, void **boundary ); extern int wine_mmap_enum_reserved_areas( int (*enum_func)(void *base, size_t size, void *arg), void *arg, int top_down );
I'm afraid we don't want to add functions either. It should be possible to implement what you want without changing the libwine interface.