libinfinity-0.6 Reference Manual: InfInit

## InfInit InfInit |

## Functions

gboolean | inf_init ()
void | inf_deinit ()

## Description

## Functions

### inf_init ()

    gboolean
    inf_init (GError **error);

This function initializes the libinfinity library and should be called before any other functions of the library. The function does nothing if it has already been called before.

#### Parameters

error | Location to store error information, if any. |

#### Returns

Whether the initialization was successful or not.

### inf_deinit ()

    void
    inf_deinit (void);

This functions deinitializes the libinfinity library. Make sure that all objects the library provides have been freed before calling this function. If `inf_init()` has been called multiple times, then `inf_deinit()` needs to be called the same number of times to actually deinitialize the library.

## Types and Values