FreeCalypso > hg > fc-magnetite
comparison src/gpf3/ccd/ccddata_pconst.c @ 2:c41a534f33c6
src/gpf3: preened GPF goo from TCS3.2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Sep 2016 23:52:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:864b8cc0cf63 | 2:c41a534f33c6 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : | |
4 | Modul : ccddata_pconst.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 three defines (MAX... | |
18 | from pconst.cdg are supplied as constants. In addition, | |
19 | corresponding functions deliver these constants. | |
20 +----------------------------------------------------------------------------- | |
21 */ | |
22 | |
23 #include "pconst.cdg" | |
24 | |
25 const int ccddata_max_sap_num = MAX_SAP_NUM; | |
26 const int ccddata_max_primitive_id = MAX_PRIMITIVE_ID; | |
27 const int ccddata_max_pstruct_len = MAX_PSTRUCT_LEN; | |
28 | |
29 int ccddata_get_max_sap_num () | |
30 { | |
31 return ccddata_max_sap_num; | |
32 } | |
33 | |
34 int ccddata_get_max_primitive_id () | |
35 { | |
36 return ccddata_max_primitive_id; | |
37 } | |
38 | |
39 int ccddata_get_max_pstruct_len () | |
40 { | |
41 return ccddata_max_pstruct_len; | |
42 } |