Changeset 237 for Include/system
- Timestamp:
- May 7, 2007, 4:22:52 PM (18 years ago)
- Location:
- Include/system
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/system/exception.ab
r58 r237 82 82 '新しいip, spをセット 83 83 #ifdef _WIN64 84 context.Rip = ppTryLayers[nTryLayers - 1]->AddressOfCatch 84 context.Rip = ppTryLayers[nTryLayers - 1]->AddressOfCatch As QWord 85 85 context.Rsp = ppTryLayers[nTryLayers - 1]->StackPtr 86 86 #else 87 context.Eip = ppTryLayers[nTryLayers - 1]->AddressOfCatch 87 context.Eip = ppTryLayers[nTryLayers - 1]->AddressOfCatch As DWord 88 88 context.Esp = ppTryLayers[nTryLayers - 1]->StackPtr 89 89 #endif -
Include/system/gc.sbp
r232 r237 245 245 246 246 Static Function IsNull( object As Object ) As Boolean 247 If ObjPtr( object ) = NULL Then 248 Return True 249 End If 250 Return False 247 Return Object.ReferenceEquals(object, Nothing) 251 248 End Function 252 249 -
Include/system/string.sbp
r233 r237 92 92 End Function 93 93 94 Function GetStr( ByRefs As String, ByRef mbs As PSTR) As SIZE_T94 Function GetStr(s As String, ByRef mbs As PSTR) As SIZE_T 95 95 Return GetStr(s.Chars, s.Length As SIZE_T, mbs) 96 96 End Function 97 97 98 Function GetStr( ByRefs As String, ByRef wcs As PWSTR) As SIZE_T98 Function GetStr(s As String, ByRef wcs As PWSTR) As SIZE_T 99 99 Return GetStr(s.Chars, s.Length As SIZE_T, wcs) 100 100 End Function … … 116 116 End Function 117 117 118 Function GetWCStr( ByRefs As String, ByRef wcs As PWSTR) As SIZE_T119 Return GetStr(s.Chars, s.Length , wcs)118 Function GetWCStr(s As String, ByRef wcs As PWSTR) As SIZE_T 119 Return GetStr(s.Chars, s.Length As SIZE_T, wcs) 120 120 End Function 121 121 … … 136 136 End Function 137 137 138 Function GetMBStr( ByRefs As String, ByRef mbs As PSTR) As SIZE_T139 Return GetStr(s.Chars, s.Length , mbs)138 Function GetMBStr(s As String, ByRef mbs As PSTR) As SIZE_T 139 Return GetStr(s.Chars, s.Length As SIZE_T, mbs) 140 140 End Function 141 141 … … 156 156 End Function 157 157 158 Function GetTCStr( ByRef s As String, ByRef wcs As PCTSTR) As SIZE_T158 Function GetTCStr(s As String, ByRef tcs As PCTSTR) As SIZE_T 159 159 Return GetStr(s.Chars, s.Length As SIZE_T, wcs) 160 160 End Function … … 176 176 End Function 177 177 178 Function GetSCStr( ByRef s As String, ByRef wcs As *StrChar) As SIZE_T178 Function GetSCStr(s As String, ByRef ss As *StrChar) As SIZE_T 179 179 Return GetStr(s.Chars, s.Length As SIZE_T, wcs) 180 180 End Function … … 196 196 End Function 197 197 198 Function ToWCStr( ByRefs As String) As PWSTR198 Function ToWCStr(s As String) As PWSTR 199 199 GetStr(s.Chars, s.Length As SIZE_T, ToWCStr) 200 200 End Function … … 216 216 End Function 217 217 218 Function ToMBStr( ByRefs As String) As PSTR218 Function ToMBStr(s As String) As PSTR 219 219 GetStr(s.Chars, s.Length As SIZE_T, ToMBStr) 220 220 End Function … … 236 236 End Function 237 237 238 Function ToTCStr( ByRefs As String) As PCTSTR238 Function ToTCStr(s As String) As PCTSTR 239 239 GetStr(s.Chars, s.Length As SIZE_T, ToTCStr) 240 240 End Function … … 256 256 End Function 257 257 258 Function ToSCStr( ByRefs As String) As *StrChar258 Function ToSCStr(s As String) As *StrChar 259 259 GetStr(s.Chars, s.Length As SIZE_T, ToSCStr) 260 260 End Function
Note:
See TracChangeset
for help on using the changeset viewer.