Changeset 581 for trunk/ab5.0
- Timestamp:
- Aug 9, 2008, 1:32:26 PM (16 years ago)
- Location:
- trunk/ab5.0/ablib/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/ActiveBasic/Strings/Strings.ab
r497 r581 38 38 MoveMemory(dst, src, size) 39 39 Return dst 40 End Function 41 42 Function StrCpy(dst As PCSTR, src As PCSTR) As PCSTR 43 StrCpy = dst 44 Dim i As SIZE_T 45 Do 46 dst[i] = src[i] 47 If src[i] = 0 Then Exit Do 48 i++ 49 Loop 50 End Function 51 52 Function StrCpy(dst As PCWSTR, src As PCWSTR) As PCWSTR 53 StrCpy = dst 54 Dim i As SIZE_T 55 Do 56 dst[i] = src[i] 57 If src[i] = 0 Then Exit Do 58 i++ 59 Loop 40 60 End Function 41 61 … … 191 211 192 212 Namespace Detail 193 Function Split(s As String, c As Char) As System.Collections.Generic. List<String>213 Function Split(s As String, c As Char) As System.Collections.Generic.IList<String> 194 214 Split = New System.Collections.Generic.List<String> 195 215 -
trunk/ab5.0/ablib/src/Classes/System/IO/BinaryWriter.ab
r553 r581 165 165 This.OutStream.Write( ToTCStr(value) As *Byte, 0, value.Length()*SizeOf(TCHAR)) 166 166 End Sub 167 167 #ifndef UNICODE 168 168 /* 169 169 現在のストリームに2バイト符号なし整数を書き込み、ストリームの位置を 2バイトだけ進めます。 … … 172 172 This.OutStream.Write( VarPtr(value) As *Byte, 0, SizeOf(Word)) 173 173 End Sub 174 174 #endif 175 175 /* 176 176 現在のストリームに4バイト符号なし整数を書き込み、ストリームの位置を 4バイトだけ進めます。 -
trunk/ab5.0/ablib/src/Classes/System/Text/DecoderFallback.ab
r497 r581 177 177 End If 178 178 With replacement 179 str = .StrPtr180 len = .Length179 ' str = .StrPtr 180 ' len = .Length 181 181 End With 182 182 End Sub -
trunk/ab5.0/ablib/src/Classes/System/Text/Encoding.ab
r497 r581 151 151 */ 152 152 Function GetBytes(s As String, index As Long, count As Long, bytes As *Byte, byteCount As Long) As Long 153 If chars = 0Then153 If ActiveBasic.IsNothing(s) Then 154 154 Throw New ArgumentNullException("Encoding.GetBytes: An argument is null value.", "chars") 155 155 ElseIf bytes = 0 Then -
trunk/ab5.0/ablib/src/Classes/System/Threading/WaitHandle.ab
r494 r581 87 87 88 88 Static Function SignalAndWait(toSignal As WaitHandle, toWaitOn As WaitHandle, millisecondsTimeout As Long, exitContext As Boolean) As Boolean 89 Dim pSignalObjectAndWait = GetProcAddress(GetModuleHandle("Kernel32.dll"), "SignalObjectAndWait") As Detail.PFNSignalObjectAndWait89 Dim pSignalObjectAndWait = GetProcAddress(GetModuleHandle("Kernel32.dll"), ToMBStr("SignalObjectAndWait")) As Detail.PFNSignalObjectAndWait 90 90 If pSignalObjectAndWait = 0 Then 91 91 Throw New PlatformNotSupportedException("WaitHandle.SignalAndWait: This platform doesn't supoort this operation.") -
trunk/ab5.0/ablib/src/basic/function.sbp
r536 r581 886 886 If ext Then 887 887 If i3 Then 888 lstrcpy(ext,path+i3)888 ActiveBasic.Strings.StrCpy(ext,path+i3) 889 889 End If 890 890 else ext[0]=0
Note:
See TracChangeset
for help on using the changeset viewer.