TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
strings.h File Reference
#include <intrin.h>
+ Include dependency graph for strings.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static __forceinline int ffsl (long x)
 
static __forceinline int ffs (int x)
 

Function Documentation

static __forceinline int ffs ( int  x)
static
18 {
19 
20  return (ffsl(x));
21 }
static __forceinline int ffsl(long x)
Definition: strings.h:8
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the call graph for this function:

static __forceinline int ffsl ( long  x)
static
9 {
10  unsigned long i;
11 
12  if (_BitScanForward(&i, x))
13  return (i + 1);
14  return (0);
15 }
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the caller graph for this function: