pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2016-09-26
2016-09-26 14:53:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c59ff4d1dc7430b64af0b875cacd4e2bdc94e76e (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Runtime: Fixed svalue.u.named_type on big-endian architectures.
165:
{ union { struct {
+
/* NB: Ought to be "enum PIKE_TYPE type:16", but then the
+
* machine code generator can't use the &-operator to
+
* get the field offset. On the other hand the offset
+
* should always be zero, so...
+
*/
unsigned short type; /**< the data type, see PIKE_T_... */ unsigned short subtype; /**< used to store the zero type, among others */ } t;
-
enum PIKE_TYPE named_type:
8
;
+
enum PIKE_TYPE named_type:
16
;
#if PIKE_BYTEORDER == 1234 ptrdiff_t type_subtype;