Subversion
Macros
APR Array Compatibility Helper Macros

These macros are provided by APR itself from version 1.3. Definitions are provided here for when using older versions of APR. More...

Macros

#define APR_ARRAY_IDX(ary, i, type)   (((type *)(ary)->elts)[i])
 index into an apr_array_header_t
 
#define APR_ARRAY_PUSH(ary, type)   (*((type *)apr_array_push(ary)))
 easier array-pushing syntax
 

Detailed Description

These macros are provided by APR itself from version 1.3. Definitions are provided here for when using older versions of APR.