summaryrefslogtreecommitdiff
path: root/src/ToolBox/superpmi/superpmi/iexecutionengine.h
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2017-04-17 14:05:11 -0700
committerGitHub <noreply@github.com>2017-04-17 14:05:11 -0700
commitfc3a969ad46a4689332792dab01d647db1ce41c1 (patch)
tree91ec286c6fd7950def771a5877ed00cc2a96bd16 /src/ToolBox/superpmi/superpmi/iexecutionengine.h
parentc06fb332e7bb77a55bda724a56b33d6094a0a042 (diff)
downloadcoreclr-fc3a969ad46a4689332792dab01d647db1ce41c1.tar.gz
coreclr-fc3a969ad46a4689332792dab01d647db1ce41c1.tar.bz2
coreclr-fc3a969ad46a4689332792dab01d647db1ce41c1.zip
Format spmi sources with clang-format (#11027)
Apply jit style format on spmi sources.
Diffstat (limited to 'src/ToolBox/superpmi/superpmi/iexecutionengine.h')
-rw-r--r--src/ToolBox/superpmi/superpmi/iexecutionengine.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/ToolBox/superpmi/superpmi/iexecutionengine.h b/src/ToolBox/superpmi/superpmi/iexecutionengine.h
index f1a76b9a4f..fb3a413cb4 100644
--- a/src/ToolBox/superpmi/superpmi/iexecutionengine.h
+++ b/src/ToolBox/superpmi/superpmi/iexecutionengine.h
@@ -85,17 +85,16 @@ interface IExecutionEngine : IUnknown
}; // interface IExecutionEngine
*/
-extern LPVOID TLS_Slots[MAX_PREDEFINED_TLS_SLOT];
-extern IExecutionEngine *pIEE;
+extern LPVOID TLS_Slots[MAX_PREDEFINED_TLS_SLOT];
+extern IExecutionEngine* pIEE;
class MyIEE : public IExecutionEngine
{
private:
-
//***************************************************************************
// IUnknown methods
//***************************************************************************
- HRESULT STDMETHODCALLTYPE QueryInterface(REFIID id, void **pInterface);
+ HRESULT STDMETHODCALLTYPE QueryInterface(REFIID id, void** pInterface);
ULONG STDMETHODCALLTYPE AddRef();
ULONG STDMETHODCALLTYPE Release();
@@ -103,14 +102,14 @@ private:
// IExecutionEngine methods for TLS
//***************************************************************************
// Associate a callback for cleanup with a TLS slot
- VOID STDMETHODCALLTYPE TLS_AssociateCallback(DWORD slot, PTLS_CALLBACK_FUNCTION callback);
+ VOID STDMETHODCALLTYPE TLS_AssociateCallback(DWORD slot, PTLS_CALLBACK_FUNCTION callback);
// Get the TLS block for fast Get/Set operations
LPVOID* STDMETHODCALLTYPE TLS_GetDataBlock();
// Get the value at a slot
LPVOID STDMETHODCALLTYPE TLS_GetValue(DWORD slot);
// Get the value at a slot, return FALSE if TLS info block doesn't exist
- BOOL STDMETHODCALLTYPE TLS_CheckValue(DWORD slot, LPVOID * pValue);
+ BOOL STDMETHODCALLTYPE TLS_CheckValue(DWORD slot, LPVOID* pValue);
// Set the value at a slot
VOID STDMETHODCALLTYPE TLS_SetValue(DWORD slot, LPVOID pData);
// Free TLS memory block and make callback
@@ -133,19 +132,17 @@ private:
SEMAPHORE_COOKIE STDMETHODCALLTYPE ClrCreateSemaphore(DWORD dwInitial, DWORD dwMax);
void STDMETHODCALLTYPE ClrCloseSemaphore(SEMAPHORE_COOKIE semaphore);
DWORD STDMETHODCALLTYPE ClrWaitForSemaphore(SEMAPHORE_COOKIE semaphore, DWORD dwMilliseconds, BOOL bAlertable);
- BOOL STDMETHODCALLTYPE ClrReleaseSemaphore(SEMAPHORE_COOKIE semaphore, LONG lReleaseCount, LONG *lpPreviousCount);
+ BOOL STDMETHODCALLTYPE ClrReleaseSemaphore(SEMAPHORE_COOKIE semaphore, LONG lReleaseCount, LONG* lpPreviousCount);
MUTEX_COOKIE STDMETHODCALLTYPE ClrCreateMutex(LPSECURITY_ATTRIBUTES lpMutexAttributes,
- BOOL bInitialOwner,
- LPCTSTR lpName);
+ BOOL bInitialOwner,
+ LPCTSTR lpName);
void STDMETHODCALLTYPE ClrCloseMutex(MUTEX_COOKIE mutex);
BOOL STDMETHODCALLTYPE ClrReleaseMutex(MUTEX_COOKIE mutex);
- DWORD STDMETHODCALLTYPE ClrWaitForMutex(MUTEX_COOKIE mutex,
- DWORD dwMilliseconds,
- BOOL bAlertable);
+ DWORD STDMETHODCALLTYPE ClrWaitForMutex(MUTEX_COOKIE mutex, DWORD dwMilliseconds, BOOL bAlertable);
DWORD STDMETHODCALLTYPE ClrSleepEx(DWORD dwMilliseconds, BOOL bAlertable);
BOOL STDMETHODCALLTYPE ClrAllocationDisallowed();
- void STDMETHODCALLTYPE GetLastThrownObjectExceptionFromThread(void **ppvException);
+ void STDMETHODCALLTYPE GetLastThrownObjectExceptionFromThread(void** ppvException);
};
-MyIEE *InitIExecutionEngine();
+MyIEE* InitIExecutionEngine();
#endif \ No newline at end of file