HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_ArrayHelp.h File Reference
#include "UT_API.h"
#include <SYS/SYS_Types.h>
#include <SYS/SYS_BitUtil.h>
+ Include dependency graph for UT_ArrayHelp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SMALL_ALLOC   16
 
#define BIG_ALLOC   128
 
#define UT_ARRAYSIZE(A)   (sizeof(A)/sizeof(A[0]))
 

Typedefs

typedef int(* ut_ptr_compare_func_t )(const void *, const void *)
 

Functions

template<typename A , exint N>
exint UTarraySize (A(&)[N])
 
UT_API exint UTbumpAllocToPrime (exint current_size)
 
UT_API exint UTdecreaseAllocToPrime (exint current_size)
 

Macro Definition Documentation

#define BIG_ALLOC   128

Definition at line 27 of file UT_ArrayHelp.h.

#define SMALL_ALLOC   16

Definition at line 26 of file UT_ArrayHelp.h.

#define UT_ARRAYSIZE (   A)    (sizeof(A)/sizeof(A[0]))

Definition at line 32 of file UT_ArrayHelp.h.

Typedef Documentation

typedef int(* ut_ptr_compare_func_t)(const void *, const void *)

Definition at line 23 of file UT_ArrayHelp.h.

Function Documentation

template<typename A , exint N>
exint UTarraySize ( A(&)  [N])

Definition at line 38 of file UT_ArrayHelp.h.

UT_API exint UTbumpAllocToPrime ( exint  current_size)
UT_API exint UTdecreaseAllocToPrime ( exint  current_size)