This commit is contained in:
@@ -806,9 +806,8 @@ and the one defined by the ISO standard:
|
|||||||
|
|
||||||
<item> The datatypes "float" and "double" are not available.
|
<item> The datatypes "float" and "double" are not available.
|
||||||
<p>
|
<p>
|
||||||
<item> C Functions may not return structs (or unions), and structs may not
|
<item> C Functions may return structs (or unions) by value, but only of
|
||||||
be passed as parameters by value. However, struct assignment *is*
|
1, 2 or 4 byte sizes.
|
||||||
possible.
|
|
||||||
<p>
|
<p>
|
||||||
<item> Most of the C library is available with only the fastcall calling
|
<item> Most of the C library is available with only the fastcall calling
|
||||||
convention (<ref id="extension-fastcall" name="see below">). It means
|
convention (<ref id="extension-fastcall" name="see below">). It means
|
||||||
|
|||||||
@@ -803,7 +803,6 @@ const Type* GetStructReplacementType (const Type* SType)
|
|||||||
switch (SizeOf (SType)) {
|
switch (SizeOf (SType)) {
|
||||||
case 1: NewType = type_uchar; break;
|
case 1: NewType = type_uchar; break;
|
||||||
case 2: NewType = type_uint; break;
|
case 2: NewType = type_uint; break;
|
||||||
case 3: /* FALLTHROUGH */
|
|
||||||
case 4: NewType = type_ulong; break;
|
case 4: NewType = type_ulong; break;
|
||||||
default: NewType = SType; break;
|
default: NewType = SType; break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user