The type converters for parameter generation.
More...
#include <common-typedefs.h>
#include <debug.h>
Go to the source code of this file.
|
|
typedef void(* | type_writer_func_t) (void *, accum) |
| |
|
| enum | type { S1615
, UINT32
, INT32
, U032
} |
| |
|
|
static void | write_s1615 (void *address, accum value) |
| |
|
static void | write_uint32 (void *address, accum value) |
| |
|
static void | write_int32 (void *address, accum value) |
| |
|
static void | write_u032 (void *address, accum value) |
| |
|
static type_info * | get_type_writer (type t) |
| |
The type converters for parameter generation.
Definition in file type_writers.h.
◆ type_info
Definition at line 34 of file type_writers.h.
| Data Fields |
|
type |
type_id |
|
|
uint32_t |
size |
|
|
type_writer_func_t |
writer |
|
◆ type_writers
Initial value:= {
{S1615, sizeof(accum), write_s1615},
{UINT32, sizeof(uint32_t), write_uint32},
{INT32, sizeof(int32_t), write_int32},
{U032, sizeof(unsigned long fract), write_u032}
}
Definition at line 60 of file type_writers.h.