Replace all the "static __inline__" functions with SDL_FORCE_INLINE.
This commit is contained in:
parent
7e934f8f75
commit
a26645f7b1
3 changed files with 20 additions and 30 deletions
|
@ -40,11 +40,6 @@ extern "C" {
|
|||
|
||||
/**
|
||||
* \file SDL_bits.h
|
||||
*
|
||||
* Uses inline functions for compilers that support them, and static
|
||||
* functions for those that do not. Because these functions become
|
||||
* static for compilers that do not support inline functions, this
|
||||
* header should only be included in files that actually use them.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -54,7 +49,7 @@ extern "C" {
|
|||
*
|
||||
* \return Index of the most significant bit.
|
||||
*/
|
||||
static __inline__ Sint8
|
||||
SDL_FORCE_INLINE Sint8
|
||||
SDL_MostSignificantBitIndex32(Uint32 x)
|
||||
{
|
||||
#if defined(__GNUC__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue