Changeset 457 for trunk/Include/Classes/System/Text
- Timestamp:
- Mar 6, 2008, 9:49:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/Text/StringBuilder.ab
r435 r457 182 182 ElseIf c > Capacity Then 183 183 Dim p = GC_malloc_atomic((c + 1) * SizeOf (StrChar)) As *StrChar 184 If p = 0 Then185 'Throw OutOfMemoryException186 Debug187 End If188 184 ActiveBasic.Strings.ChrCopy(p, chars, size As SIZE_T) 189 185 chars = p … … 488 484 This.size = 0 489 485 This.chars = GC_malloc_atomic((This.capacity + 1) * SizeOf (StrChar)) 490 If chars = 0 Then491 'Throw OutOfMemoryException492 Debug493 End If494 495 486 End Sub 496 487
Note:
See TracChangeset
for help on using the changeset viewer.