Ignore:
Timestamp:
Aug 9, 2008, 1:32:26 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

Unicodeコンパイルで問題になる部分を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/ActiveBasic/Strings/Strings.ab

    r497 r581  
    3838    MoveMemory(dst, src, size)
    3939    Return dst
     40End Function
     41
     42Function 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
     50End Function
     51
     52Function 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
    4060End Function
    4161
     
    191211
    192212Namespace Detail
    193 Function Split(s As String, c As Char) As System.Collections.Generic.List<String>
     213Function Split(s As String, c As Char) As System.Collections.Generic.IList<String>
    194214    Split = New System.Collections.Generic.List<String>
    195215
Note: See TracChangeset for help on using the changeset viewer.