libSystem Reference Manual: Array

## Array Array |

## Functions

#define | ARRAY()
void | (*ArrayForeach) ()
Array * | array_new ()
void | array_delete ()
size_t | array_count ()
void * | array_get ()
int | array_get_copy ()
int | array_set ()
int | array_append ()
int | array_remove_pos ()
void | array_foreach ()

## Types and Values

| Array

## Description

## Functions

### ARRAY()

    #define             ARRAY(type, name)

### ArrayForeach ()

    void
    (*ArrayForeach) (void *value,
                     void *data);

### array_new ()

    Array *
    array_new (size_t size);

#### Returns

### array_delete ()

    void
    array_delete (Array *array);

### array_count ()

    size_t
    array_count (Array *array);

#### Returns

### array_get ()

    void *
    array_get (Array *array,
               size_t pos);

#### Returns

### array_get_copy ()

    int
    array_get_copy (Array *array,
                    size_t pos,
                    void *value);

#### Returns

### array_set ()

    int
    array_set (Array *array,
               size_t pos,
               void *value);

#### Returns

### array_append ()

    int
    array_append (Array *array,
                  void *value);

#### Returns

### array_remove_pos ()

    int
    array_remove_pos (Array *array,
                      size_t pos);

#### Returns

### array_foreach ()

    void
    array_foreach (Array *array,
                   ArrayForeach func,
                   void *data);

## Types and Values

### Array

    typedef struct _Array Array;