Changeset 175 for Include/system/string.sbp
- Timestamp:
- Mar 21, 2007, 7:06:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/system/string.sbp
r167 r175 28 28 Function GetStr(psz As PSTR, ByRef wcs As PWSTR) As SIZE_T 29 29 If psz <> 0 Then 30 Return GetStr(psz, lstrlenA(psz) , wcs)30 Return GetStr(psz, lstrlenA(psz) As SIZE_T, wcs) 31 31 Else 32 32 Return 0 … … 45 45 wcs = psz 46 46 If psz <> 0 Then 47 Return lstrlenW(psz) 47 Return lstrlenW(psz) As SIZE_T 48 48 Else 49 49 Return 0 … … 64 64 Return 0 65 65 Else 66 Return GetStr(psz, lstrlenW(psz) , mbs)66 Return GetStr(psz, lstrlenW(psz) As SIZE_T, mbs) 67 67 End If 68 68 End Function … … 79 79 mbs = psz 80 80 If psz <> 0 Then 81 Return lstrlenA(psz) 81 Return lstrlenA(psz) As SIZE_T 82 82 Else 83 83 Return 0 … … 199 199 200 200 Function 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) 202 202 End Function 203 203
Note:
See TracChangeset
for help on using the changeset viewer.