Changeset 223 for Include/basic
- Timestamp:
- Apr 30, 2007, 1:56:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/function.sbp
r214 r223 1059 1059 Function _System_BSwap(x As Word) As Word 1060 1060 Dim src = VarPtr(x) As *Byte 1061 Dim dst = VarPtr(_System_BSwap) As * SByte1061 Dim dst = VarPtr(_System_BSwap) As *Byte 1062 1062 dst[0] = src[1] 1063 1063 dst[1] = src[0] … … 1066 1066 Function _System_BSwap(x As DWord) As DWord 1067 1067 Dim src = VarPtr(x) As *Byte 1068 Dim dst = VarPtr(_System_BSwap) As * SByte1068 Dim dst = VarPtr(_System_BSwap) As *Byte 1069 1069 dst[0] = src[3] 1070 1070 dst[1] = src[2] … … 1075 1075 Function _System_BSwap(x As QWord) As QWord 1076 1076 Dim src = VarPtr(x) As *Byte 1077 Dim dst = VarPtr(_System_BSwap) As * SByte1077 Dim dst = VarPtr(_System_BSwap) As *Byte 1078 1078 dst[0] = src[7] 1079 1079 dst[1] = src[6]
Note:
See TracChangeset
for help on using the changeset viewer.