/*
  function block
  name: a32toa16
*/

#include <tasy0def.h>
#include <grfb0008.h>

typedef
   struct {

   } str_data;

uint16 FBINIT_a32toa16 (uint16 hinstance)
{
   return (sizeof (str_data));
}

void FBACT_a32toa16 (uint16 hinstance, str_data *data, str_arg *arg)
{
}

#define BOO_VALUE   ((T_BOO *)value)
#define ANA_VALUE   ((T_ANA *)value)
#define REAL_VALUE  ((T_REAL *)value)
#define TMR_VALUE   ((T_TMR *)value)
#define MSG_VALUE   ((T_MSG *)value)

void FBREAD_a32toa16 (uint16 hinstance, str_data *data,
      uint16 parno, void *value)
{
}

ABP fbldef_a32toa16 (char *name, IBP *initproc, RBP *readproc)
 {
   sys_strcpy (name, "A32TOA16");
   *initproc = (IBP)FBINIT_a32toa16;
   *readproc = (RBP)FBREAD_a32toa16;
   return ((ABP)FBACT_a32toa16);
}
