From d9a2c7b9c155256a322e66ce3aec6dfe0147941c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 24 Feb 2017 14:02:31 +0000 Subject: fix some doxygen errors --- frontends/cocoa/bitmap.m | 19 ++++++++++--------- frontends/windows/filetype.c | 3 ++- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'frontends') diff --git a/frontends/cocoa/bitmap.m b/frontends/cocoa/bitmap.m index 1ab8c3e2f..fe611f118 100644 --- a/frontends/cocoa/bitmap.m +++ b/frontends/cocoa/bitmap.m @@ -41,7 +41,16 @@ #define ALPHA_OFFSET (3) static CGImageRef cocoa_prepare_bitmap( void *bitmap ); -static NSMapTable *cocoa_get_bitmap_cache( void ); +//static NSMapTable *cocoa_get_bitmap_cache( void ); + +static inline NSMapTable *cocoa_get_bitmap_cache( void ) +{ + static NSMapTable *cache = nil; + if (cache == nil) { + cache = NSCreateMapTable( NSNonOwnedPointerMapKeyCallBacks, NSNonOwnedPointerMapValueCallBacks, 0 ); + } + return cache; +} static int bitmap_get_width(void *bitmap) { @@ -179,14 +188,6 @@ CGImageRef cocoa_get_cgimage( void *bitmap ) return result; } -static inline NSMapTable *cocoa_get_bitmap_cache( void ) -{ - static NSMapTable *cache = nil; - if (cache == nil) { - cache = NSCreateMapTable( NSNonOwnedPointerMapKeyCallBacks, NSNonOwnedPointerMapValueCallBacks, 0 ); - } - return cache; -} static CGImageRef cocoa_prepare_bitmap( void *bitmap ) { diff --git a/frontends/windows/filetype.c b/frontends/windows/filetype.c index 4e7f2f425..d31434aeb 100644 --- a/frontends/windows/filetype.c +++ b/frontends/windows/filetype.c @@ -17,7 +17,8 @@ */ /** - * \file Fetch operation implementation for win32 + * \file + * Fetch operation implementation for win32 */ #include -- cgit v1.2.3