author | Mario de Sousa <msousa@fe.up.pt> |
Tue, 05 Apr 2011 14:24:07 +0100 | |
changeset 281 | 686fa44e3832 |
parent 280 | 69a307407f7b |
permissions | -rw-r--r-- |
280
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
2 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
3 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
4 |
BOOL_TO_BYTE(BOOL IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
5 |
{ *__OUT=(BYTE )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
6 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
7 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
8 |
BOOL_TO_DINT(BOOL IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
9 |
{ *__OUT=(DINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
10 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
11 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
12 |
BOOL_TO_DWORD(BOOL IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
13 |
{ *__OUT=(DWORD )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
14 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
15 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
16 |
BOOL_TO_INT(BOOL IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
17 |
{ *__OUT=(INT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
18 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
19 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
20 |
BOOL_TO_LINT(BOOL IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
21 |
{ *__OUT=(LINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
22 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
23 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
24 |
BOOL_TO_LREAL(BOOL IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
25 |
{ *__OUT=(LREAL )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
26 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
27 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
28 |
BOOL_TO_LWORD(BOOL IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
29 |
{ *__OUT=(LWORD )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
30 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
31 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
32 |
BOOL_TO_REAL(BOOL IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
33 |
{ *__OUT=(REAL )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
34 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
35 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
36 |
BOOL_TO_SINT(BOOL IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
37 |
{ *__OUT=(SINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
38 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
39 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
40 |
BOOL_TO_UDINT(BOOL IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
41 |
{ *__OUT=(UDINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
42 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
43 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
44 |
BOOL_TO_UINT(BOOL IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
45 |
{ *__OUT=(UINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
46 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
47 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
48 |
BOOL_TO_ULINT(BOOL IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
49 |
{ *__OUT=(ULINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
50 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
51 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
52 |
BOOL_TO_USINT(BOOL IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
53 |
{ *__OUT=(USINT )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
54 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
55 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
56 |
BOOL_TO_WORD(BOOL IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
57 |
{ *__OUT=(WORD )__move_BOOL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
58 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
59 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
60 |
BYTE_TO_BOOL(BYTE IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
61 |
{ *__OUT=(BOOL )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
62 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
63 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
64 |
BYTE_TO_DINT(BYTE IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
65 |
{ *__OUT=(DINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
66 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
67 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
68 |
BYTE_TO_DWORD(BYTE IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
69 |
{ *__OUT=(DWORD )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
70 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
71 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
72 |
BYTE_TO_INT(BYTE IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
73 |
{ *__OUT=(INT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
74 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
75 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
76 |
BYTE_TO_LINT(BYTE IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
77 |
{ *__OUT=(LINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
78 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
79 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
80 |
BYTE_TO_LREAL(BYTE IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
81 |
{ *__OUT=(LREAL )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
82 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
83 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
84 |
BYTE_TO_LWORD(BYTE IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
85 |
{ *__OUT=(LWORD )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
86 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
87 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
88 |
BYTE_TO_REAL(BYTE IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
89 |
{ *__OUT=(REAL )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
90 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
91 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
92 |
BYTE_TO_SINT(BYTE IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
93 |
{ *__OUT=(SINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
94 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
95 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
96 |
BYTE_TO_UDINT(BYTE IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
97 |
{ *__OUT=(UDINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
98 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
99 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
100 |
BYTE_TO_UINT(BYTE IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
101 |
{ *__OUT=(UINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
102 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
103 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
104 |
BYTE_TO_ULINT(BYTE IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
105 |
{ *__OUT=(ULINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
106 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
107 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
108 |
BYTE_TO_USINT(BYTE IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
109 |
{ *__OUT=(USINT )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
110 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
111 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
112 |
BYTE_TO_WORD(BYTE IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
113 |
{ *__OUT=(WORD )__move_BYTE (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
114 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
115 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
116 |
DINT_TO_BOOL(DINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
117 |
{ *__OUT=(BOOL )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
118 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
119 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
120 |
DINT_TO_BYTE(DINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
121 |
{ *__OUT=(BYTE )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
122 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
123 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
124 |
DINT_TO_DWORD(DINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
125 |
{ *__OUT=(DWORD )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
126 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
127 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
128 |
DINT_TO_INT(DINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
129 |
{ *__OUT=(INT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
130 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
131 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
132 |
DINT_TO_LINT(DINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
133 |
{ *__OUT=(LINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
134 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
135 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
136 |
DINT_TO_LREAL(DINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
137 |
{ *__OUT=(LREAL )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
138 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
139 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
140 |
DINT_TO_LWORD(DINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
141 |
{ *__OUT=(LWORD )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
142 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
143 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
144 |
DINT_TO_REAL(DINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
145 |
{ *__OUT=(REAL )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
146 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
147 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
148 |
DINT_TO_SINT(DINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
149 |
{ *__OUT=(SINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
150 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
151 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
152 |
DINT_TO_UDINT(DINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
153 |
{ *__OUT=(UDINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
154 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
155 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
156 |
DINT_TO_UINT(DINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
157 |
{ *__OUT=(UINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
158 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
159 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
160 |
DINT_TO_ULINT(DINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
161 |
{ *__OUT=(ULINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
162 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
163 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
164 |
DINT_TO_USINT(DINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
165 |
{ *__OUT=(USINT )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
166 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
167 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
168 |
DINT_TO_WORD(DINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
169 |
{ *__OUT=(WORD )__move_DINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
170 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
171 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
172 |
DWORD_TO_BOOL(DWORD IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
173 |
{ *__OUT=(BOOL )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
174 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
175 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
176 |
DWORD_TO_BYTE(DWORD IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
177 |
{ *__OUT=(BYTE )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
178 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
179 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
180 |
DWORD_TO_DINT(DWORD IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
181 |
{ *__OUT=(DINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
182 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
183 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
184 |
DWORD_TO_INT(DWORD IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
185 |
{ *__OUT=(INT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
186 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
187 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
188 |
DWORD_TO_LINT(DWORD IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
189 |
{ *__OUT=(LINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
190 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
191 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
192 |
DWORD_TO_LREAL(DWORD IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
193 |
{ *__OUT=(LREAL )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
194 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
195 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
196 |
DWORD_TO_LWORD(DWORD IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
197 |
{ *__OUT=(LWORD )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
198 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
199 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
200 |
DWORD_TO_REAL(DWORD IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
201 |
{ *__OUT=(REAL )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
202 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
203 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
204 |
DWORD_TO_SINT(DWORD IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
205 |
{ *__OUT=(SINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
206 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
207 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
208 |
DWORD_TO_UDINT(DWORD IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
209 |
{ *__OUT=(UDINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
210 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
211 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
212 |
DWORD_TO_UINT(DWORD IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
213 |
{ *__OUT=(UINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
214 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
215 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
216 |
DWORD_TO_ULINT(DWORD IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
217 |
{ *__OUT=(ULINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
218 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
219 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
220 |
DWORD_TO_USINT(DWORD IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
221 |
{ *__OUT=(USINT )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
222 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
223 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
224 |
DWORD_TO_WORD(DWORD IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
225 |
{ *__OUT=(WORD )__move_DWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
226 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
227 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
228 |
INT_TO_BOOL(INT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
229 |
{ *__OUT=(BOOL )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
230 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
231 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
232 |
INT_TO_BYTE(INT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
233 |
{ *__OUT=(BYTE )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
234 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
235 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
236 |
INT_TO_DINT(INT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
237 |
{ *__OUT=(DINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
238 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
239 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
240 |
INT_TO_DWORD(INT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
241 |
{ *__OUT=(DWORD )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
242 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
243 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
244 |
INT_TO_LINT(INT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
245 |
{ *__OUT=(LINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
246 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
247 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
248 |
INT_TO_LREAL(INT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
249 |
{ *__OUT=(LREAL )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
250 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
251 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
252 |
INT_TO_LWORD(INT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
253 |
{ *__OUT=(LWORD )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
254 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
255 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
256 |
INT_TO_REAL(INT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
257 |
{ *__OUT=(REAL )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
258 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
259 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
260 |
INT_TO_SINT(INT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
261 |
{ *__OUT=(SINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
262 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
263 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
264 |
INT_TO_UDINT(INT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
265 |
{ *__OUT=(UDINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
266 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
267 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
268 |
INT_TO_UINT(INT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
269 |
{ *__OUT=(UINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
270 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
271 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
272 |
INT_TO_ULINT(INT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
273 |
{ *__OUT=(ULINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
274 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
275 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
276 |
INT_TO_USINT(INT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
277 |
{ *__OUT=(USINT )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
278 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
279 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
280 |
INT_TO_WORD(INT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
281 |
{ *__OUT=(WORD )__move_INT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
282 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
283 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
284 |
LINT_TO_BOOL(LINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
285 |
{ *__OUT=(BOOL )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
286 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
287 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
288 |
LINT_TO_BYTE(LINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
289 |
{ *__OUT=(BYTE )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
290 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
291 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
292 |
LINT_TO_DINT(LINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
293 |
{ *__OUT=(DINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
294 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
295 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
296 |
LINT_TO_DWORD(LINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
297 |
{ *__OUT=(DWORD )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
298 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
299 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
300 |
LINT_TO_INT(LINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
301 |
{ *__OUT=(INT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
302 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
303 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
304 |
LINT_TO_LREAL(LINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
305 |
{ *__OUT=(LREAL )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
306 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
307 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
308 |
LINT_TO_LWORD(LINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
309 |
{ *__OUT=(LWORD )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
310 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
311 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
312 |
LINT_TO_REAL(LINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
313 |
{ *__OUT=(REAL )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
314 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
315 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
316 |
LINT_TO_SINT(LINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
317 |
{ *__OUT=(SINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
318 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
319 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
320 |
LINT_TO_UDINT(LINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
321 |
{ *__OUT=(UDINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
322 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
323 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
324 |
LINT_TO_UINT(LINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
325 |
{ *__OUT=(UINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
326 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
327 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
328 |
LINT_TO_ULINT(LINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
329 |
{ *__OUT=(ULINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
330 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
331 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
332 |
LINT_TO_USINT(LINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
333 |
{ *__OUT=(USINT )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
334 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
335 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
336 |
LINT_TO_WORD(LINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
337 |
{ *__OUT=(WORD )__move_LINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
338 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
339 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
340 |
LREAL_TO_BOOL(LREAL IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
341 |
{ *__OUT=(BOOL )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
342 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
343 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
344 |
LREAL_TO_BYTE(LREAL IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
345 |
{ *__OUT=(BYTE )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
346 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
347 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
348 |
LREAL_TO_DINT(LREAL IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
349 |
{ *__OUT=(DINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
350 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
351 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
352 |
LREAL_TO_DWORD(LREAL IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
353 |
{ *__OUT=(DWORD )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
354 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
355 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
356 |
LREAL_TO_INT(LREAL IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
357 |
{ *__OUT=(INT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
358 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
359 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
360 |
LREAL_TO_LINT(LREAL IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
361 |
{ *__OUT=(LINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
362 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
363 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
364 |
LREAL_TO_LWORD(LREAL IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
365 |
{ *__OUT=(LWORD )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
366 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
367 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
368 |
LREAL_TO_REAL(LREAL IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
369 |
{ *__OUT=(REAL )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
370 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
371 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
372 |
LREAL_TO_SINT(LREAL IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
373 |
{ *__OUT=(SINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
374 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
375 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
376 |
LREAL_TO_UDINT(LREAL IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
377 |
{ *__OUT=(UDINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
378 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
379 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
380 |
LREAL_TO_UINT(LREAL IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
381 |
{ *__OUT=(UINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
382 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
383 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
384 |
LREAL_TO_ULINT(LREAL IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
385 |
{ *__OUT=(ULINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
386 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
387 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
388 |
LREAL_TO_USINT(LREAL IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
389 |
{ *__OUT=(USINT )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
390 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
391 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
392 |
LREAL_TO_WORD(LREAL IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
393 |
{ *__OUT=(WORD )__move_LREAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
394 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
395 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
396 |
LWORD_TO_BOOL(LWORD IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
397 |
{ *__OUT=(BOOL )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
398 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
399 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
400 |
LWORD_TO_BYTE(LWORD IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
401 |
{ *__OUT=(BYTE )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
402 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
403 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
404 |
LWORD_TO_DINT(LWORD IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
405 |
{ *__OUT=(DINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
406 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
407 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
408 |
LWORD_TO_DWORD(LWORD IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
409 |
{ *__OUT=(DWORD )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
410 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
411 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
412 |
LWORD_TO_INT(LWORD IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
413 |
{ *__OUT=(INT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
414 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
415 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
416 |
LWORD_TO_LINT(LWORD IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
417 |
{ *__OUT=(LINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
418 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
419 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
420 |
LWORD_TO_LREAL(LWORD IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
421 |
{ *__OUT=(LREAL )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
422 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
423 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
424 |
LWORD_TO_REAL(LWORD IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
425 |
{ *__OUT=(REAL )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
426 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
427 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
428 |
LWORD_TO_SINT(LWORD IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
429 |
{ *__OUT=(SINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
430 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
431 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
432 |
LWORD_TO_UDINT(LWORD IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
433 |
{ *__OUT=(UDINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
434 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
435 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
436 |
LWORD_TO_UINT(LWORD IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
437 |
{ *__OUT=(UINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
438 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
439 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
440 |
LWORD_TO_ULINT(LWORD IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
441 |
{ *__OUT=(ULINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
442 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
443 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
444 |
LWORD_TO_USINT(LWORD IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
445 |
{ *__OUT=(USINT )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
446 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
447 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
448 |
LWORD_TO_WORD(LWORD IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
449 |
{ *__OUT=(WORD )__move_LWORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
450 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
451 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
452 |
REAL_TO_BOOL(REAL IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
453 |
{ *__OUT=(BOOL )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
454 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
455 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
456 |
REAL_TO_BYTE(REAL IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
457 |
{ *__OUT=(BYTE )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
458 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
459 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
460 |
REAL_TO_DINT(REAL IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
461 |
{ *__OUT=(DINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
462 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
463 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
464 |
REAL_TO_DWORD(REAL IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
465 |
{ *__OUT=(DWORD )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
466 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
467 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
468 |
REAL_TO_INT(REAL IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
469 |
{ *__OUT=(INT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
470 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
471 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
472 |
REAL_TO_LINT(REAL IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
473 |
{ *__OUT=(LINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
474 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
475 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
476 |
REAL_TO_LREAL(REAL IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
477 |
{ *__OUT=(LREAL )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
478 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
479 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
480 |
REAL_TO_LWORD(REAL IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
481 |
{ *__OUT=(LWORD )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
482 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
483 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
484 |
REAL_TO_SINT(REAL IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
485 |
{ *__OUT=(SINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
486 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
487 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
488 |
REAL_TO_UDINT(REAL IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
489 |
{ *__OUT=(UDINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
490 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
491 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
492 |
REAL_TO_UINT(REAL IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
493 |
{ *__OUT=(UINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
494 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
495 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
496 |
REAL_TO_ULINT(REAL IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
497 |
{ *__OUT=(ULINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
498 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
499 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
500 |
REAL_TO_USINT(REAL IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
501 |
{ *__OUT=(USINT )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
502 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
503 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
504 |
REAL_TO_WORD(REAL IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
505 |
{ *__OUT=(WORD )__move_REAL (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
506 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
507 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
508 |
SINT_TO_BOOL(SINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
509 |
{ *__OUT=(BOOL )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
510 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
511 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
512 |
SINT_TO_BYTE(SINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
513 |
{ *__OUT=(BYTE )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
514 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
515 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
516 |
SINT_TO_DINT(SINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
517 |
{ *__OUT=(DINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
518 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
519 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
520 |
SINT_TO_DWORD(SINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
521 |
{ *__OUT=(DWORD )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
522 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
523 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
524 |
SINT_TO_INT(SINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
525 |
{ *__OUT=(INT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
526 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
527 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
528 |
SINT_TO_LINT(SINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
529 |
{ *__OUT=(LINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
530 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
531 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
532 |
SINT_TO_LREAL(SINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
533 |
{ *__OUT=(LREAL )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
534 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
535 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
536 |
SINT_TO_LWORD(SINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
537 |
{ *__OUT=(LWORD )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
538 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
539 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
540 |
SINT_TO_REAL(SINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
541 |
{ *__OUT=(REAL )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
542 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
543 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
544 |
SINT_TO_UDINT(SINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
545 |
{ *__OUT=(UDINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
546 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
547 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
548 |
SINT_TO_UINT(SINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
549 |
{ *__OUT=(UINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
550 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
551 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
552 |
SINT_TO_ULINT(SINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
553 |
{ *__OUT=(ULINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
554 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
555 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
556 |
SINT_TO_USINT(SINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
557 |
{ *__OUT=(USINT )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
558 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
559 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
560 |
SINT_TO_WORD(SINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
561 |
{ *__OUT=(WORD )__move_SINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
562 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
563 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
564 |
UDINT_TO_BOOL(UDINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
565 |
{ *__OUT=(BOOL )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
566 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
567 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
568 |
UDINT_TO_BYTE(UDINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
569 |
{ *__OUT=(BYTE )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
570 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
571 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
572 |
UDINT_TO_DINT(UDINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
573 |
{ *__OUT=(DINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
574 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
575 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
576 |
UDINT_TO_DWORD(UDINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
577 |
{ *__OUT=(DWORD )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
578 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
579 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
580 |
UDINT_TO_INT(UDINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
581 |
{ *__OUT=(INT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
582 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
583 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
584 |
UDINT_TO_LINT(UDINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
585 |
{ *__OUT=(LINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
586 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
587 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
588 |
UDINT_TO_LREAL(UDINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
589 |
{ *__OUT=(LREAL )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
590 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
591 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
592 |
UDINT_TO_LWORD(UDINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
593 |
{ *__OUT=(LWORD )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
594 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
595 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
596 |
UDINT_TO_REAL(UDINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
597 |
{ *__OUT=(REAL )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
598 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
599 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
600 |
UDINT_TO_SINT(UDINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
601 |
{ *__OUT=(SINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
602 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
603 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
604 |
UDINT_TO_UINT(UDINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
605 |
{ *__OUT=(UINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
606 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
607 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
608 |
UDINT_TO_ULINT(UDINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
609 |
{ *__OUT=(ULINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
610 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
611 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
612 |
UDINT_TO_USINT(UDINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
613 |
{ *__OUT=(USINT )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
614 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
615 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
616 |
UDINT_TO_WORD(UDINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
617 |
{ *__OUT=(WORD )__move_UDINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
618 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
619 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
620 |
UINT_TO_BOOL(UINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
621 |
{ *__OUT=(BOOL )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
622 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
623 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
624 |
UINT_TO_BYTE(UINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
625 |
{ *__OUT=(BYTE )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
626 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
627 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
628 |
UINT_TO_DINT(UINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
629 |
{ *__OUT=(DINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
630 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
631 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
632 |
UINT_TO_DWORD(UINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
633 |
{ *__OUT=(DWORD )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
634 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
635 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
636 |
UINT_TO_INT(UINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
637 |
{ *__OUT=(INT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
638 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
639 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
640 |
UINT_TO_LINT(UINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
641 |
{ *__OUT=(LINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
642 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
643 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
644 |
UINT_TO_LREAL(UINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
645 |
{ *__OUT=(LREAL )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
646 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
647 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
648 |
UINT_TO_LWORD(UINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
649 |
{ *__OUT=(LWORD )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
650 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
651 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
652 |
UINT_TO_REAL(UINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
653 |
{ *__OUT=(REAL )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
654 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
655 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
656 |
UINT_TO_SINT(UINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
657 |
{ *__OUT=(SINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
658 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
659 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
660 |
UINT_TO_UDINT(UINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
661 |
{ *__OUT=(UDINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
662 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
663 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
664 |
UINT_TO_ULINT(UINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
665 |
{ *__OUT=(ULINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
666 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
667 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
668 |
UINT_TO_USINT(UINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
669 |
{ *__OUT=(USINT )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
670 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
671 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
672 |
UINT_TO_WORD(UINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
673 |
{ *__OUT=(WORD )__move_UINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
674 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
675 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
676 |
ULINT_TO_BOOL(ULINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
677 |
{ *__OUT=(BOOL )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
678 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
679 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
680 |
ULINT_TO_BYTE(ULINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
681 |
{ *__OUT=(BYTE )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
682 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
683 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
684 |
ULINT_TO_DINT(ULINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
685 |
{ *__OUT=(DINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
686 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
687 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
688 |
ULINT_TO_DWORD(ULINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
689 |
{ *__OUT=(DWORD )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
690 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
691 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
692 |
ULINT_TO_INT(ULINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
693 |
{ *__OUT=(INT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
694 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
695 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
696 |
ULINT_TO_LINT(ULINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
697 |
{ *__OUT=(LINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
698 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
699 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
700 |
ULINT_TO_LREAL(ULINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
701 |
{ *__OUT=(LREAL )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
702 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
703 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
704 |
ULINT_TO_LWORD(ULINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
705 |
{ *__OUT=(LWORD )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
706 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
707 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
708 |
ULINT_TO_REAL(ULINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
709 |
{ *__OUT=(REAL )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
710 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
711 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
712 |
ULINT_TO_SINT(ULINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
713 |
{ *__OUT=(SINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
714 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
715 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
716 |
ULINT_TO_UDINT(ULINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
717 |
{ *__OUT=(UDINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
718 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
719 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
720 |
ULINT_TO_UINT(ULINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
721 |
{ *__OUT=(UINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
722 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
723 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
724 |
ULINT_TO_USINT(ULINT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
725 |
{ *__OUT=(USINT )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
726 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
727 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
728 |
ULINT_TO_WORD(ULINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
729 |
{ *__OUT=(WORD )__move_ULINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
730 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
731 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
732 |
USINT_TO_BOOL(USINT IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
733 |
{ *__OUT=(BOOL )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
734 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
735 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
736 |
USINT_TO_BYTE(USINT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
737 |
{ *__OUT=(BYTE )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
738 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
739 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
740 |
USINT_TO_DINT(USINT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
741 |
{ *__OUT=(DINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
742 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
743 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
744 |
USINT_TO_DWORD(USINT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
745 |
{ *__OUT=(DWORD )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
746 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
747 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
748 |
USINT_TO_INT(USINT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
749 |
{ *__OUT=(INT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
750 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
751 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
752 |
USINT_TO_LINT(USINT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
753 |
{ *__OUT=(LINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
754 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
755 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
756 |
USINT_TO_LREAL(USINT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
757 |
{ *__OUT=(LREAL )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
758 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
759 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
760 |
USINT_TO_LWORD(USINT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
761 |
{ *__OUT=(LWORD )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
762 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
763 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
764 |
USINT_TO_REAL(USINT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
765 |
{ *__OUT=(REAL )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
766 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
767 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
768 |
USINT_TO_SINT(USINT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
769 |
{ *__OUT=(SINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
770 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
771 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
772 |
USINT_TO_UDINT(USINT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
773 |
{ *__OUT=(UDINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
774 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
775 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
776 |
USINT_TO_UINT(USINT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
777 |
{ *__OUT=(UINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
778 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
779 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
780 |
USINT_TO_ULINT(USINT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
781 |
{ *__OUT=(ULINT )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
782 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
783 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
784 |
USINT_TO_WORD(USINT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
785 |
{ *__OUT=(WORD )__move_USINT (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
786 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
787 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
788 |
WORD_TO_BOOL(WORD IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
789 |
{ *__OUT=(BOOL )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
790 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
791 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
792 |
WORD_TO_BYTE(WORD IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
793 |
{ *__OUT=(BYTE )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
794 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
795 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
796 |
WORD_TO_DINT(WORD IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
797 |
{ *__OUT=(DINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
798 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
799 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
800 |
WORD_TO_DWORD(WORD IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
801 |
{ *__OUT=(DWORD )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
802 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
803 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
804 |
WORD_TO_INT(WORD IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
805 |
{ *__OUT=(INT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
806 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
807 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
808 |
WORD_TO_LINT(WORD IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
809 |
{ *__OUT=(LINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
810 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
811 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
812 |
WORD_TO_LREAL(WORD IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
813 |
{ *__OUT=(LREAL )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
814 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
815 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
816 |
WORD_TO_LWORD(WORD IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
817 |
{ *__OUT=(LWORD )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
818 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
819 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
820 |
WORD_TO_REAL(WORD IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
821 |
{ *__OUT=(REAL )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
822 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
823 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
824 |
WORD_TO_SINT(WORD IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
825 |
{ *__OUT=(SINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
826 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
827 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
828 |
WORD_TO_UDINT(WORD IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
829 |
{ *__OUT=(UDINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
830 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
831 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
832 |
WORD_TO_UINT(WORD IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
833 |
{ *__OUT=(UINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
834 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
835 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
836 |
WORD_TO_ULINT(WORD IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
837 |
{ *__OUT=(ULINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
838 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
839 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
840 |
WORD_TO_USINT(WORD IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
841 |
{ *__OUT=(USINT )__move_WORD (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
842 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
843 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
844 |
STRING_TO_BOOL(STRING IN, BOOL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
845 |
{ *__OUT=(BOOL )__string_to_bool (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
846 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
847 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
848 |
STRING_TO_BYTE(STRING IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
849 |
{ *__OUT=(BYTE )__string_to_bit (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
850 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
851 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
852 |
STRING_TO_WORD(STRING IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
853 |
{ *__OUT=(WORD )__string_to_bit (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
854 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
855 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
856 |
STRING_TO_DWORD(STRING IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
857 |
{ *__OUT=(DWORD )__string_to_bit (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
858 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
859 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
860 |
STRING_TO_LWORD(STRING IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
861 |
{ *__OUT=(LWORD )__string_to_bit (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
862 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
863 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
864 |
STRING_TO_SINT(STRING IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
865 |
{ *__OUT=(SINT )__string_to_sint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
866 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
867 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
868 |
STRING_TO_INT(STRING IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
869 |
{ *__OUT=(INT )__string_to_sint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
870 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
871 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
872 |
STRING_TO_DINT(STRING IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
873 |
{ *__OUT=(DINT )__string_to_sint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
874 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
875 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
876 |
STRING_TO_LINT(STRING IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
877 |
{ *__OUT=(LINT )__string_to_sint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
878 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
879 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
880 |
STRING_TO_USINT(STRING IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
881 |
{ *__OUT=(USINT )__string_to_uint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
882 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
883 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
884 |
STRING_TO_UINT(STRING IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
885 |
{ *__OUT=(UINT )__string_to_uint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
886 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
887 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
888 |
STRING_TO_UDINT(STRING IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
889 |
{ *__OUT=(UDINT )__string_to_uint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
890 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
891 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
892 |
STRING_TO_ULINT(STRING IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
893 |
{ *__OUT=(ULINT )__string_to_uint (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
894 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
895 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
896 |
STRING_TO_REAL(STRING IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
897 |
{ *__OUT=(REAL )__string_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
898 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
899 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
900 |
STRING_TO_LREAL(STRING IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
901 |
{ *__OUT=(LREAL )__string_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
902 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
903 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
904 |
STRING_TO_DATE(STRING IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
905 |
{ *__OUT=(DATE )__string_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
906 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
907 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
908 |
STRING_TO_TIME(STRING IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
909 |
{ *__OUT=(TIME )__string_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
910 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
911 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
912 |
STRING_TO_TOD(STRING IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
913 |
{ *__OUT=(TOD )__string_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
914 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
915 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
916 |
STRING_TO_DT(STRING IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
917 |
{ *__OUT=(DT )__string_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
918 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
919 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
920 |
BOOL_TO_STRING(BOOL IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
921 |
{ *__OUT=(STRING )__bool_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
922 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
923 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
924 |
BYTE_TO_STRING(BYTE IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
925 |
{ *__OUT=(STRING )__bit_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
926 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
927 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
928 |
WORD_TO_STRING(WORD IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
929 |
{ *__OUT=(STRING )__bit_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
930 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
931 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
932 |
DWORD_TO_STRING(DWORD IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
933 |
{ *__OUT=(STRING )__bit_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
934 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
935 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
936 |
LWORD_TO_STRING(LWORD IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
937 |
{ *__OUT=(STRING )__bit_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
938 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
939 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
940 |
INT_TO_STRING(INT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
941 |
{ *__OUT=(STRING )__sint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
942 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
943 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
944 |
LINT_TO_STRING(LINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
945 |
{ *__OUT=(STRING )__sint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
946 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
947 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
948 |
DINT_TO_STRING(DINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
949 |
{ *__OUT=(STRING )__sint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
950 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
951 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
952 |
SINT_TO_STRING(SINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
953 |
{ *__OUT=(STRING )__sint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
954 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
955 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
956 |
USINT_TO_STRING(USINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
957 |
{ *__OUT=(STRING )__uint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
958 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
959 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
960 |
UINT_TO_STRING(UINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
961 |
{ *__OUT=(STRING )__uint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
962 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
963 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
964 |
UDINT_TO_STRING(UDINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
965 |
{ *__OUT=(STRING )__uint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
966 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
967 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
968 |
ULINT_TO_STRING(ULINT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
969 |
{ *__OUT=(STRING )__uint_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
970 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
971 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
972 |
REAL_TO_STRING(REAL IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
973 |
{ *__OUT=(STRING )__real_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
974 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
975 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
976 |
LREAL_TO_STRING(LREAL IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
977 |
{ *__OUT=(STRING )__real_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
978 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
979 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
980 |
DATE_TO_STRING(DATE IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
981 |
{ *__OUT=(STRING )__date_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
982 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
983 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
984 |
DT_TO_STRING(DT IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
985 |
{ *__OUT=(STRING )__dt_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
986 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
987 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
988 |
TIME_TO_STRING(TIME IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
989 |
{ *__OUT=(STRING )__time_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
990 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
991 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
992 |
TOD_TO_STRING(TOD IN, STRING *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
993 |
{ *__OUT=(STRING )__tod_to_string (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
994 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
995 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
996 |
BOOL_TO_DATE(BOOL IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
997 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
998 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
999 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1000 |
BYTE_TO_DATE(BYTE IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1001 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1002 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1003 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1004 |
WORD_TO_DATE(WORD IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1005 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1006 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1007 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1008 |
DWORD_TO_DATE(DWORD IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1009 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1010 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1011 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1012 |
LWORD_TO_DATE(LWORD IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1013 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1014 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1015 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1016 |
SINT_TO_DATE(SINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1017 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1018 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1019 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1020 |
INT_TO_DATE(INT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1021 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1022 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1023 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1024 |
DINT_TO_DATE(DINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1025 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1026 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1027 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1028 |
LINT_TO_DATE(LINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1029 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1030 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1031 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1032 |
USINT_TO_DATE(USINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1033 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1034 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1035 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1036 |
UINT_TO_DATE(UINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1037 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1038 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1039 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1040 |
UDINT_TO_DATE(UDINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1041 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1042 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1043 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1044 |
ULINT_TO_DATE(ULINT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1045 |
{ *__OUT=(DATE )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1046 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1047 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1048 |
REAL_TO_DATE(REAL IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1049 |
{ *__OUT=(DATE )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1050 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1051 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1052 |
LREAL_TO_DATE(LREAL IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1053 |
{ *__OUT=(DATE )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1054 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1055 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1056 |
DATE_TO_BYTE(DATE IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1057 |
{ *__OUT=(BYTE )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1058 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1059 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1060 |
DATE_TO_WORD(DATE IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1061 |
{ *__OUT=(WORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1062 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1063 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1064 |
DATE_TO_DWORD(DATE IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1065 |
{ *__OUT=(DWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1066 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1067 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1068 |
DATE_TO_LWORD(DATE IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1069 |
{ *__OUT=(LWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1070 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1071 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1072 |
DATE_TO_SINT(DATE IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1073 |
{ *__OUT=(SINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1074 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1075 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1076 |
DATE_TO_INT(DATE IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1077 |
{ *__OUT=(INT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1078 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1079 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1080 |
DATE_TO_DINT(DATE IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1081 |
{ *__OUT=(DINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1082 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1083 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1084 |
DATE_TO_LINT(DATE IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1085 |
{ *__OUT=(LINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1086 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1087 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1088 |
DATE_TO_USINT(DATE IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1089 |
{ *__OUT=(USINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1090 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1091 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1092 |
DATE_TO_UINT(DATE IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1093 |
{ *__OUT=(UINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1094 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1095 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1096 |
DATE_TO_UDINT(DATE IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1097 |
{ *__OUT=(UDINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1098 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1099 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1100 |
DATE_TO_ULINT(DATE IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1101 |
{ *__OUT=(ULINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1102 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1103 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1104 |
DATE_TO_REAL(DATE IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1105 |
{ *__OUT=(REAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1106 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1107 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1108 |
DATE_TO_LREAL(DATE IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1109 |
{ *__OUT=(LREAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1110 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1111 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1112 |
BOOL_TO_TIME(BOOL IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1113 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1114 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1115 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1116 |
BYTE_TO_TIME(BYTE IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1117 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1118 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1119 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1120 |
WORD_TO_TIME(WORD IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1121 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1122 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1123 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1124 |
DWORD_TO_TIME(DWORD IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1125 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1126 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1127 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1128 |
LWORD_TO_TIME(LWORD IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1129 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1130 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1131 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1132 |
SINT_TO_TIME(SINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1133 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1134 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1135 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1136 |
INT_TO_TIME(INT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1137 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1138 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1139 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1140 |
DINT_TO_TIME(DINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1141 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1142 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1143 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1144 |
LINT_TO_TIME(LINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1145 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1146 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1147 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1148 |
USINT_TO_TIME(USINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1149 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1150 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1151 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1152 |
UINT_TO_TIME(UINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1153 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1154 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1155 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1156 |
UDINT_TO_TIME(UDINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1157 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1158 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1159 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1160 |
ULINT_TO_TIME(ULINT IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1161 |
{ *__OUT=(TIME )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1162 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1163 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1164 |
REAL_TO_TIME(REAL IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1165 |
{ *__OUT=(TIME )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1166 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1167 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1168 |
LREAL_TO_TIME(LREAL IN, TIME *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1169 |
{ *__OUT=(TIME )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1170 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1171 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1172 |
TIME_TO_BYTE(TIME IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1173 |
{ *__OUT=(BYTE )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1174 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1175 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1176 |
TIME_TO_WORD(TIME IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1177 |
{ *__OUT=(WORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1178 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1179 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1180 |
TIME_TO_DWORD(TIME IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1181 |
{ *__OUT=(DWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1182 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1183 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1184 |
TIME_TO_LWORD(TIME IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1185 |
{ *__OUT=(LWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1186 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1187 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1188 |
TIME_TO_SINT(TIME IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1189 |
{ *__OUT=(SINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1190 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1191 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1192 |
TIME_TO_INT(TIME IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1193 |
{ *__OUT=(INT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1194 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1195 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1196 |
TIME_TO_DINT(TIME IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1197 |
{ *__OUT=(DINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1198 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1199 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1200 |
TIME_TO_LINT(TIME IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1201 |
{ *__OUT=(LINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1202 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1203 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1204 |
TIME_TO_USINT(TIME IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1205 |
{ *__OUT=(USINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1206 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1207 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1208 |
TIME_TO_UINT(TIME IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1209 |
{ *__OUT=(UINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1210 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1211 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1212 |
TIME_TO_UDINT(TIME IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1213 |
{ *__OUT=(UDINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1214 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1215 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1216 |
TIME_TO_ULINT(TIME IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1217 |
{ *__OUT=(ULINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1218 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1219 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1220 |
TIME_TO_REAL(TIME IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1221 |
{ *__OUT=(REAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1222 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1223 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1224 |
TIME_TO_LREAL(TIME IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1225 |
{ *__OUT=(LREAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1226 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1227 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1228 |
BOOL_TO_DT(BOOL IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1229 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1230 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1231 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1232 |
BYTE_TO_DT(BYTE IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1233 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1234 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1235 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1236 |
WORD_TO_DT(WORD IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1237 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1238 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1239 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1240 |
DWORD_TO_DT(DWORD IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1241 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1242 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1243 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1244 |
LWORD_TO_DT(LWORD IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1245 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1246 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1247 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1248 |
SINT_TO_DT(SINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1249 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1250 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1251 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1252 |
INT_TO_DT(INT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1253 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1254 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1255 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1256 |
DINT_TO_DT(DINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1257 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1258 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1259 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1260 |
LINT_TO_DT(LINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1261 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1262 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1263 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1264 |
USINT_TO_DT(USINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1265 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1266 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1267 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1268 |
UINT_TO_DT(UINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1269 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1270 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1271 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1272 |
UDINT_TO_DT(UDINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1273 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1274 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1275 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1276 |
ULINT_TO_DT(ULINT IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1277 |
{ *__OUT=(DT )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1278 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1279 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1280 |
REAL_TO_DT(REAL IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1281 |
{ *__OUT=(DT )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1282 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1283 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1284 |
LREAL_TO_DT(LREAL IN, DT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1285 |
{ *__OUT=(DT )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1286 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1287 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1288 |
DT_TO_BYTE(DT IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1289 |
{ *__OUT=(BYTE )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1290 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1291 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1292 |
DT_TO_WORD(DT IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1293 |
{ *__OUT=(WORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1294 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1295 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1296 |
DT_TO_DWORD(DT IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1297 |
{ *__OUT=(DWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1298 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1299 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1300 |
DT_TO_LWORD(DT IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1301 |
{ *__OUT=(LWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1302 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1303 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1304 |
DT_TO_SINT(DT IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1305 |
{ *__OUT=(SINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1306 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1307 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1308 |
DT_TO_INT(DT IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1309 |
{ *__OUT=(INT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1310 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1311 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1312 |
DT_TO_DINT(DT IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1313 |
{ *__OUT=(DINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1314 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1315 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1316 |
DT_TO_LINT(DT IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1317 |
{ *__OUT=(LINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1318 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1319 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1320 |
DT_TO_USINT(DT IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1321 |
{ *__OUT=(USINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1322 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1323 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1324 |
DT_TO_UINT(DT IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1325 |
{ *__OUT=(UINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1326 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1327 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1328 |
DT_TO_UDINT(DT IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1329 |
{ *__OUT=(UDINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1330 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1331 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1332 |
DT_TO_ULINT(DT IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1333 |
{ *__OUT=(ULINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1334 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1335 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1336 |
DT_TO_REAL(DT IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1337 |
{ *__OUT=(REAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1338 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1339 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1340 |
DT_TO_LREAL(DT IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1341 |
{ *__OUT=(LREAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1342 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1343 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1344 |
BOOL_TO_TOD(BOOL IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1345 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1346 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1347 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1348 |
BYTE_TO_TOD(BYTE IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1349 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1350 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1351 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1352 |
WORD_TO_TOD(WORD IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1353 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1354 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1355 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1356 |
DWORD_TO_TOD(DWORD IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1357 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1358 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1359 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1360 |
LWORD_TO_TOD(LWORD IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1361 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1362 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1363 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1364 |
SINT_TO_TOD(SINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1365 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1366 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1367 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1368 |
INT_TO_TOD(INT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1369 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1370 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1371 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1372 |
DINT_TO_TOD(DINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1373 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1374 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1375 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1376 |
LINT_TO_TOD(LINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1377 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1378 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1379 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1380 |
USINT_TO_TOD(USINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1381 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1382 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1383 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1384 |
UINT_TO_TOD(UINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1385 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1386 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1387 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1388 |
UDINT_TO_TOD(UDINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1389 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1390 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1391 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1392 |
ULINT_TO_TOD(ULINT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1393 |
{ *__OUT=(TOD )__int_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1394 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1395 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1396 |
REAL_TO_TOD(REAL IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1397 |
{ *__OUT=(TOD )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1398 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1399 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1400 |
LREAL_TO_TOD(LREAL IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1401 |
{ *__OUT=(TOD )__real_to_time (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1402 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1403 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1404 |
TOD_TO_BYTE(TOD IN, BYTE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1405 |
{ *__OUT=(BYTE )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1406 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1407 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1408 |
TOD_TO_WORD(TOD IN, WORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1409 |
{ *__OUT=(WORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1410 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1411 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1412 |
TOD_TO_DWORD(TOD IN, DWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1413 |
{ *__OUT=(DWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1414 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1415 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1416 |
TOD_TO_LWORD(TOD IN, LWORD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1417 |
{ *__OUT=(LWORD )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1418 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1419 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1420 |
TOD_TO_SINT(TOD IN, SINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1421 |
{ *__OUT=(SINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1422 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1423 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1424 |
TOD_TO_INT(TOD IN, INT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1425 |
{ *__OUT=(INT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1426 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1427 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1428 |
TOD_TO_DINT(TOD IN, DINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1429 |
{ *__OUT=(DINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1430 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1431 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1432 |
TOD_TO_LINT(TOD IN, LINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1433 |
{ *__OUT=(LINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1434 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1435 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1436 |
TOD_TO_USINT(TOD IN, USINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1437 |
{ *__OUT=(USINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1438 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1439 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1440 |
TOD_TO_UINT(TOD IN, UINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1441 |
{ *__OUT=(UINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1442 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1443 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1444 |
TOD_TO_UDINT(TOD IN, UDINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1445 |
{ *__OUT=(UDINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1446 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1447 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1448 |
TOD_TO_ULINT(TOD IN, ULINT *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1449 |
{ *__OUT=(ULINT )__time_to_int (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1450 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1451 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1452 |
TOD_TO_REAL(TOD IN, REAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1453 |
{ *__OUT=(REAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1454 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1455 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1456 |
TOD_TO_LREAL(TOD IN, LREAL *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1457 |
{ *__OUT=(LREAL )__time_to_real (EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1458 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1459 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1460 |
DATE_AND_TIME_TO_TIME_OF_DAY(DT IN, TOD *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1461 |
{ *__OUT = (TOD )__date_and_time_to_time_of_day(EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1462 |
|
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1463 |
inline |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1464 |
DATE_AND_TIME_TO_DATE(DT IN, DATE *__OUT, BOOL EN, BOOL *__ENO) |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1465 |
{ *__OUT = (DATE )__date_and_time_to_date(EN,__ENO,IN); } |
69a307407f7b
Fixing code generation of standard conversion functions.
Mario de Sousa <msousa@fe.up.pt>
parents:
diff
changeset
|
1466 |