diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-02-24 14:02:31 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-02-24 14:02:31 +0000 |
commit | d9a2c7b9c155256a322e66ce3aec6dfe0147941c (patch) | |
tree | 5a8b8eaf62486c02aa33d1b8a5f71b03b7c056bb /frontends | |
parent | 07c8ea22a5b1d8e10db20a24127332da8c7e2b72 (diff) | |
download | netsurf-d9a2c7b9c155256a322e66ce3aec6dfe0147941c.tar.gz netsurf-d9a2c7b9c155256a322e66ce3aec6dfe0147941c.tar.bz2 |
fix some doxygen errors
Diffstat (limited to 'frontends')
-rw-r--r-- | frontends/cocoa/bitmap.m | 19 | ||||
-rw-r--r-- | frontends/windows/filetype.c | 3 |
2 files changed, 12 insertions, 10 deletions
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 <stdlib.h> |