# `./fio-stl/249 reference counter.h`

17 public symbols.

### Functions

#### `fiobj_array_new`

```c
FIO_REF_TYPE_PTR fiobj_array_new(void)
```



_Symbol type:_ `function`

#### `fiobj_hash_new`

```c
FIO_REF_TYPE_PTR fiobj_hash_new(void)
```



_Symbol type:_ `function`

#### `fiobj_object_new`

```c
FIO_REF_TYPE_PTR fiobj_object_new(void)
```



_Symbol type:_ `function`

#### `fiobj_str_new`

```c
FIO_REF_TYPE_PTR fiobj_str_new(void)
```



_Symbol type:_ `function`

#### `fiobj_array_dup`

```c
inline FIO_REF_TYPE_PTR fiobj_array_dup(const FIO_REF_TYPE_PTR wrapped)
```

Increases the reference count.

_Symbol type:_ `function`

#### `fiobj_hash_dup`

```c
inline FIO_REF_TYPE_PTR fiobj_hash_dup(const FIO_REF_TYPE_PTR wrapped)
```

Increases the reference count.

_Symbol type:_ `function`

#### `fiobj_object_dup`

```c
inline FIO_REF_TYPE_PTR fiobj_object_dup(const FIO_REF_TYPE_PTR wrapped)
```

Increases the reference count.

_Symbol type:_ `function`

#### `fiobj_str_dup`

```c
inline FIO_REF_TYPE_PTR fiobj_str_dup(const FIO_REF_TYPE_PTR wrapped)
```

Increases the reference count.

_Symbol type:_ `function`

#### `fiobj_array_free`

```c
void fiobj_array_free(FIO_REF_TYPE_PTR wrapped)
```

Frees a reference counted object (or decreases the reference count).

_Symbol type:_ `function`

#### `fiobj_hash_free`

```c
void fiobj_hash_free(FIO_REF_TYPE_PTR wrapped)
```

Frees a reference counted object (or decreases the reference count).

_Symbol type:_ `function`

#### `fiobj_object_free`

```c
void fiobj_object_free(FIO_REF_TYPE_PTR wrapped)
```

Frees a reference counted object (or decreases the reference count).

_Symbol type:_ `function`

#### `fiobj_str_free`

```c
void fiobj_str_free(FIO_REF_TYPE_PTR wrapped)
```

Frees a reference counted object (or decreases the reference count).

_Symbol type:_ `function`

#### `fiobj_object_metadata`

```c
FIO_REF_METADATA *fiobj_object_metadata(FIO_REF_TYPE_PTR wrapped)
```

Returns a pointer to the object's metadata, if defined.

_Symbol type:_ `function`

#### `fiobj_array_references`

```c
inline size_t fiobj_array_references(FIO_REF_TYPE_PTR wrapped_)
```

Debugging helper, do not use for data, as returned value is unstable.

_Symbol type:_ `function`

#### `fiobj_hash_references`

```c
inline size_t fiobj_hash_references(FIO_REF_TYPE_PTR wrapped_)
```

Debugging helper, do not use for data, as returned value is unstable.

_Symbol type:_ `function`

#### `fiobj_object_references`

```c
inline size_t fiobj_object_references(FIO_REF_TYPE_PTR wrapped_)
```

Debugging helper, do not use for data, as returned value is unstable.

_Symbol type:_ `function`

#### `fiobj_str_references`

```c
inline size_t fiobj_str_references(FIO_REF_TYPE_PTR wrapped_)
```

Debugging helper, do not use for data, as returned value is unstable.

_Symbol type:_ `function`

-----------------------------------------------------
