comparison src/gpf/ccd/ccddata_cdemstr.c @ 5:1ea54a97e831

src/gpf: import of Magnetite src/gpf3
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 08:11:07 +0000
parents
children
comparison
equal deleted inserted replaced
4:6e457872f745 5:1ea54a97e831
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : ccddata_cdemstr.c
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Ccddata abstraction for use in lib/dll. The two tables
18 | mval and mstr, genereraed by ccdgen (in cdemval.cdg)
19 | are supplied. In addition, corresponding functions deliver
20 | specified elements of the tables.
21 +-----------------------------------------------------------------------------
22 */
23
24 #ifndef CCDDATA_NO_CDEMSTR
25
26 #include "typedefs.h"
27 #include "ccdtable.h"
28
29 static const T_CCD_StrTabEntry ccddata_mstr [] =
30 {
31 #include "mstr.cdg"
32 };
33
34 const T_CCD_StrTabEntry* ccddata_get_mstr (USHORT idx)
35 {
36 return &ccddata_mstr[idx];
37 }
38 #endif /* CCDDATA_NO_CDEMSTR */