blob: 0523af274efac26d8539e247a6085a5e577040ee (
plain)
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.
// See the LICENSE file in the project root for more information.
////////////////////////////////////////////////////////////////////////////////
#ifndef _COMMETHODRENTAL_H_
#define _COMMETHODRENTAL_H_
#include "excep.h"
#include "fcall.h"
#ifdef FEATURE_METHOD_RENTAL
// COMMethodRental
// This class implements SwapMethodBody for our MethodRenting story
class COMMethodRental
{
public:
// COMMethodRental.SwapMethodBody -- this function will swap an existing method body with
// a new method body
//
static
void QCALLTYPE SwapMethodBody(EnregisteredTypeHandle cls, INT32 tkMethod, LPVOID rgMethod, INT32 iSize, INT32 flags, QCall::StackCrawlMarkHandle stackMark);
};
#endif // FEATURE_METHOD_RENTAL
#endif //_COMMETHODRENTAL_H_
|