Changeset 237 for Include/system


Ignore:
Timestamp:
May 7, 2007, 4:22:52 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

#_fullcompileで検出されたエラーの修正(明らかに判るもののみ)

Location:
Include/system
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Include/system/exception.ab

    r58 r237  
    8282        '新しいip, spをセット
    8383#ifdef _WIN64
    84         context.Rip = ppTryLayers[nTryLayers - 1]->AddressOfCatch
     84        context.Rip = ppTryLayers[nTryLayers - 1]->AddressOfCatch As QWord
    8585        context.Rsp = ppTryLayers[nTryLayers - 1]->StackPtr
    8686#else
    87         context.Eip = ppTryLayers[nTryLayers - 1]->AddressOfCatch
     87        context.Eip = ppTryLayers[nTryLayers - 1]->AddressOfCatch As DWord
    8888        context.Esp = ppTryLayers[nTryLayers - 1]->StackPtr
    8989#endif
  • Include/system/gc.sbp

    r232 r237  
    245245
    246246    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)
    251248    End Function
    252249
  • Include/system/string.sbp

    r233 r237  
    9292End Function
    9393
    94 Function GetStr(ByRef s As String, ByRef mbs As PSTR) As SIZE_T
     94Function GetStr(s As String, ByRef mbs As PSTR) As SIZE_T
    9595    Return GetStr(s.Chars, s.Length As SIZE_T, mbs)
    9696End Function
    9797
    98 Function GetStr(ByRef s As String, ByRef wcs As PWSTR) As SIZE_T
     98Function GetStr(s As String, ByRef wcs As PWSTR) As SIZE_T
    9999    Return GetStr(s.Chars, s.Length As SIZE_T, wcs)
    100100End Function
     
    116116End Function
    117117
    118 Function GetWCStr(ByRef s As String, ByRef wcs As PWSTR) As SIZE_T
    119     Return GetStr(s.Chars, s.Length, wcs)
     118Function GetWCStr(s As String, ByRef wcs As PWSTR) As SIZE_T
     119    Return GetStr(s.Chars, s.Length As SIZE_T, wcs)
    120120End Function
    121121
     
    136136End Function
    137137
    138 Function GetMBStr(ByRef s As String, ByRef mbs As PSTR) As SIZE_T
    139     Return GetStr(s.Chars, s.Length, mbs)
     138Function GetMBStr(s As String, ByRef mbs As PSTR) As SIZE_T
     139    Return GetStr(s.Chars, s.Length As SIZE_T, mbs)
    140140End Function
    141141
     
    156156End Function
    157157
    158 Function GetTCStr(ByRef s As String, ByRef wcs As PCTSTR) As SIZE_T
     158Function GetTCStr(s As String, ByRef tcs As PCTSTR) As SIZE_T
    159159    Return GetStr(s.Chars, s.Length As SIZE_T, wcs)
    160160End Function
     
    176176End Function
    177177
    178 Function GetSCStr(ByRef s As String, ByRef wcs As *StrChar) As SIZE_T
     178Function GetSCStr(s As String, ByRef ss As *StrChar) As SIZE_T
    179179    Return GetStr(s.Chars, s.Length As SIZE_T, wcs)
    180180End Function
     
    196196End Function
    197197
    198 Function ToWCStr(ByRef s As String) As PWSTR
     198Function ToWCStr(s As String) As PWSTR
    199199    GetStr(s.Chars, s.Length As SIZE_T, ToWCStr)
    200200End Function
     
    216216End Function
    217217
    218 Function ToMBStr(ByRef s As String) As PSTR
     218Function ToMBStr(s As String) As PSTR
    219219    GetStr(s.Chars, s.Length As SIZE_T, ToMBStr)
    220220End Function
     
    236236End Function
    237237
    238 Function ToTCStr(ByRef s As String) As PCTSTR
     238Function ToTCStr(s As String) As PCTSTR
    239239    GetStr(s.Chars, s.Length As SIZE_T, ToTCStr)
    240240End Function
     
    256256End Function
    257257
    258 Function ToSCStr(ByRef s As String) As *StrChar
     258Function ToSCStr(s As String) As *StrChar
    259259    GetStr(s.Chars, s.Length As SIZE_T, ToSCStr)
    260260End Function
Note: See TracChangeset for help on using the changeset viewer.