libcfe-tables
2.9.85
some useful C-functions
double_table.h
Go to the documentation of this file.
1
/* kate: indent-mode cstyle; tab-width 4; indent-width 4; */
2
#ifndef XDOUBLE_TABLES_H
3
#define XDOUBLE_TABLES_H
4
5
#include <
cfe-tables/tables.h
>
6
7
enum
8
{
9
FIELD_ID
,
10
FIELD_VALUE
,
11
N_FIELDS
12
};
13
14
INIT_TABLE_TYPE_DEF
(
double
);
15
rec_t
double_table_store
(
table_t
*t, uint32_t i,
double
j,
rec_t
pos);
16
double
double_table_get_value_by_id
(
const
table_t
*t, uint32_t
id
);
17
#define double_table_free(x) table_free(x)
18
#define double_table_get_num_records(x) table_get_num_records(x)
19
20
#endif
/* XDOUBLE_TABLES_H */
FIELD_ID
Definition:
double_table.h:9
N_FIELDS
Definition:
double_table.h:11
INIT_TABLE_TYPE_DEF
INIT_TABLE_TYPE_DEF(double)
double_table_get_value_by_id
double double_table_get_value_by_id(const table_t *t, uint32_t id)
table_t
struct _table table_t
Table type.
Definition:
typedef.h:14
FIELD_VALUE
Definition:
double_table.h:10
rec_t
uint32_t rec_t
Type to identify a record number.
Definition:
typedef.h:15
tables.h
double_table_store
rec_t double_table_store(table_t *t, uint32_t i, double j, rec_t pos)
cfe-tables
double_table.h
Generated on Wed Sep 4 2019 19:30:59 for libcfe-tables by
1.8.15