Ignore:
Timestamp:
Mar 21, 2007, 7:06:34 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Variant, VBObjectの追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/system/string.sbp

    r167 r175  
    2828Function GetStr(psz As PSTR, ByRef wcs As PWSTR) As SIZE_T
    2929    If psz <> 0 Then
    30         Return GetStr(psz, lstrlenA(psz), wcs)
     30        Return GetStr(psz, lstrlenA(psz) As SIZE_T, wcs)
    3131    Else
    3232        Return 0
     
    4545    wcs = psz
    4646    If psz <> 0 Then
    47         Return lstrlenW(psz)
     47        Return lstrlenW(psz) As SIZE_T
    4848    Else
    4949        Return 0
     
    6464        Return 0
    6565    Else
    66         Return GetStr(psz, lstrlenW(psz), mbs)
     66        Return GetStr(psz, lstrlenW(psz) As SIZE_T, mbs)
    6767    End If
    6868End Function
     
    7979    mbs = psz
    8080    If psz <> 0 Then
    81         Return lstrlenA(psz)
     81        Return lstrlenA(psz) As SIZE_T
    8282    Else
    8383        Return 0
     
    199199
    200200Function ToWCStr(ByRef s As String) As PWSTR
    201     GetStr(s.Chars As PWSTR, s.Length As SIZE_T, ToWCStr)
     201    GetStr(s.Chars, s.Length As SIZE_T, ToWCStr)
    202202End Function
    203203
Note: See TracChangeset for help on using the changeset viewer.