Subversion
Macros
APR Array Compatibility Helper Macros

These macros are provided by APR itself from version 1.3. More...

Macros

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

Detailed Description

These macros are provided by APR itself from version 1.3.

Definitions are provided here for when using older versions of APR.

Macro Definition Documentation

◆ APR_ARRAY_IDX

#define APR_ARRAY_IDX (   ary,
  i,
  type 
)    (((type *)(ary)->elts)[i])

index into an apr_array_header_t

Definition at line 240 of file svn_types.h.

◆ APR_ARRAY_PUSH

#define APR_ARRAY_PUSH (   ary,
  type 
)    (*((type *)apr_array_push(ary)))

easier array-pushing syntax

Definition at line 245 of file svn_types.h.