diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-01-30 14:14:42 -0800 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2015-01-30 14:14:42 -0800 |
commit | ef1e2ab328087c61a6878c1e84f4fc5d710aebce (patch) | |
tree | dee1bbb89e9d722e16b0d1485e3cdd1b6c8e2cfa /src/vm/stackbuildersink.h | |
download | coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.gz coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.bz2 coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.zip |
Initial commit to populate CoreCLR repo
[tfs-changeset: 1407945]
Diffstat (limited to 'src/vm/stackbuildersink.h')
-rw-r--r-- | src/vm/stackbuildersink.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/vm/stackbuildersink.h b/src/vm/stackbuildersink.h new file mode 100644 index 0000000000..f16a8557ff --- /dev/null +++ b/src/vm/stackbuildersink.h @@ -0,0 +1,50 @@ +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// +// +// File: StackBuilderSink.h +// + +// +// Purpose: Native implementation for System.Runtime.Remoting.Messaging.StackBuilderSink +// + + +#ifndef __STACKBUILDERSINK_H__ +#define __STACKBUILDERSINK_H__ + +#ifndef FEATURE_REMOTING +#error FEATURE_REMOTING is not set, please do not include stackbuildersink.h +#endif + +void CallDescrWithObjectArray(OBJECTREF& pServer, MethodDesc *pMD, //ReflectMethod *pMD, + PCODE pTarget, MetaSig* sig, VASigCookie *pCookie, + PTRARRAYREF& pArguments, + OBJECTREF* pVarRet, PTRARRAYREF* ppVarOutParams); + +//+---------------------------------------------------------- +// +// Class: CStackBuilderSink +// +// Synopsis: EE counterpart to +// Microsoft.Runtime.StackBuilderSink +// Code helper to build a stack of parameter +// arguments and make a function call on an +// object. +// +// +//------------------------------------------------------------ +class CStackBuilderSink +{ +public: + + static FCDECL5(Object*, PrivateProcessMessage, + Object* pSBSinkUNSAFE, + MethodDesc* pMD, + PTRArray* pArgsUNSAFE, + Object* pServerUNSAFE, + PTRARRAYREF* ppVarOutParams); +}; + +#endif // __STACKBUILDERSINK_H__ |