Changeset 170 for Include/system/gc.sbp


Ignore:
Timestamp:
Mar 16, 2007, 10:01:14 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

winnt.ab, windef.ab, guiddef.abを導入

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/system/gc.sbp

    r144 r170  
    1919Const _System_GC_FLAG_INITZERO = 4
    2020Const _System_GC_FLAG_OBJECT = 8
    21 
    22 Const THREAD_GET_CONTEXT  = &H0008
    2321
    2422Class _System_CGarbageCollection
     
    122120    End Sub
    123121
    124     Sub add(new_ptr As VoidPtr, size As SIZE_T,flags As DWord)
     122    Sub add(new_ptr As VoidPtr, size As SIZE_T, flags As DWord)
    125123        iAllSize+=size
    126124
     
    239237                If pbMark[index]=0 Then
    240238                    pbMark[index]=1
    241                    
     239
    242240                    If (pdwFlags[index] and _System_GC_FLAG_ATOMIC)=0 Then
    243241                        'ヒープ領域がポインタ値を含む可能性があるとき
    244242                        If ppPtr[index] = 0 Then
    245243                            'エラー
    246                            
     244
    247245                        End If
    248246                        Scan(ppPtr[index] As *LONG_PTR,pSize[index],pbMark)
     
    426424            OutputDebugString( Ex"Object dump complete.\r\n" )
    427425        End If
    428        
     426
    429427    End Sub
    430428
Note: See TracChangeset for help on using the changeset viewer.