funkalicious 0.1

postproc_generic.c File Reference

#include "postproc_generic.h"
Include dependency graph for postproc_generic.c:

Go to the source code of this file.

Functions

enum postproc_type dotcode_type_to_postproc_type (enum dotcode_type t)

Function Documentation

enum postproc_type dotcode_type_to_postproc_type ( enum dotcode_type  t)

Definition at line 30 of file postproc_generic.c.

References DOTCODE_FLOAT4, DOTCODE_FLOAT8, DOTCODE_INT, POSTPROC_DOUBLE, POSTPROC_FLOAT, POSTPROC_INT, and POSTPROC_INVALID_TYPE.

Referenced by main().

                                                                      {
  switch(t) {
  case DOTCODE_INT:
    return POSTPROC_INT;
  case DOTCODE_FLOAT8:
    return POSTPROC_DOUBLE;
  case DOTCODE_FLOAT4:
    return POSTPROC_FLOAT;
  default:
    return POSTPROC_INVALID_TYPE;
  }
}

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines