mirror of
https://github.com/janet-lang/janet
synced 2025-10-29 06:37:41 +00:00
Merge branch 'alpha' of https://github.com/bakpakin/gst into alpha
This commit is contained in:
@@ -121,6 +121,7 @@ DstValue dst_wrap_boolean(int x) {
|
|||||||
DstValue dst_wrap_##NAME(TYPE x) {\
|
DstValue dst_wrap_##NAME(TYPE x) {\
|
||||||
DstValue y;\
|
DstValue y;\
|
||||||
y.type = DTYPE;\
|
y.type = DTYPE;\
|
||||||
|
y.as.u64 = 0; /* zero other bits in case of 32 bit integer */ \
|
||||||
y.as.UM = x;\
|
y.as.UM = x;\
|
||||||
return y;\
|
return y;\
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user