-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
GcEnum.h
29 lines (22 loc) · 1.08 KB
/
GcEnum.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#ifndef __GcEnum_h__
#define __GcEnum_h__
#include "forward_declarations.h"
struct REGDISPLAY;
class ICodeManager;
enum GCRefKind : unsigned char;
void EnumGcRef(PTR_OBJECTREF pRef, GCRefKind kind, ScanFunc* pfnEnumCallback, ScanContext* pvCallbackData);
void EnumGcRefConservatively(PTR_OBJECTREF pRef, ScanFunc* pfnEnumCallback, ScanContext* pvCallbackData);
void EnumGcRefs(ICodeManager * pCodeManager,
MethodInfo * pMethodInfo,
PTR_VOID safePointAddress,
REGDISPLAY * pRegisterSet,
ScanFunc* pfnEnumCallback,
ScanContext* pvCallbackData,
bool isActiveStackFrame);
void EnumGcRefsInRegionConservatively(PTR_OBJECTREF pLowerBound,
PTR_OBJECTREF pUpperBound,
ScanFunc* pfnEnumCallback,
ScanContext* pvCallbackData);
#endif // __GcEnum_h__