## fo-utils

fo-utils

## Synopsis

    #define             GETTEXT_PACKAGE
    #define             fo_propagate_and_return_if_error    (src, dest)
    #define             fo_propagate_and_return_val_if_error(src, dest, val)
    enum                FoDebugFlag;
    enum                FoWarningFlag;
    enum                FoEnumAreaDirection;

## Description

## Details

### GETTEXT_PACKAGE

    #define GETTEXT_PACKAGE "libfo"

### fo_propagate_and_return_if_error()

    #define             fo_propagate_and_return_if_error(src, dest)

`src` : |
`dest` : |

### fo_propagate_and_return_val_if_error()

    #define             fo_propagate_and_return_val_if_error(src, dest, val)

`src` : |
`dest` : |
`val` : |

### enum FoDebugFlag

    typedef enum {
      FO_DEBUG_NONE = 0,
      FO_DEBUG_RESULT = 1 << 0,
      FO_DEBUG_FO = 1 << 1,
      FO_DEBUG_AREA = 1 << 2,
      FO_DEBUG_PANGO = 1 << 3,
      FO_DEBUG_MAX = ((1 << 4) - 1)
    } FoDebugFlag;

Debugging flags.

`FO_DEBUG_NONE` | No debugging enabled
`FO_DEBUG_RESULT` | Debug result tree
`FO_DEBUG_FO` | Debug FO tree
`FO_DEBUG_AREA` | Debug area tree
`FO_DEBUG_PANGO` | Debug Pango layouts
`FO_DEBUG_MAX` | Maximum possible value

### enum FoWarningFlag

    typedef enum {
      FO_WARNING_NONE = 0,
      FO_WARNING_FO = 1 << 0,
      FO_WARNING_PROPERTY = 1 << 1,
      FO_WARNING_UNSUPPORTED_PROPERTY = 1 << 2,
      FO_WARNING_MAX = ((1 << 3) - 1)
    } FoWarningFlag;

Warning flags.

`FO_WARNING_NONE` | No explicit control over warning message output
`FO_WARNING_FO` | Do not warn about FO errors
`FO_WARNING_PROPERTY` | Do not warn about property errors
`FO_WARNING_UNSUPPORTED_PROPERTY` | Do not warn about unsupported properties
`FO_WARNING_MAX` | Maximum possible value

### enum FoEnumAreaDirection

    typedef enum {
      FO_ENUM_AREA_DIRECTION_UNKNOWN,
      FO_ENUM_AREA_DIRECTION_LR,
      FO_ENUM_AREA_DIRECTION_RL,
      FO_ENUM_AREA_DIRECTION_TB,
      FO_ENUM_AREA_DIRECTION_BT
    } FoEnumAreaDirection;