Correcting adapter name
Change-Id: Icc0c840d6e70c10baa4127d9121f174e7b882360
diff --git a/Source/GmmLib/GlobalInfo/GmmLibDllMain.cpp b/Source/GmmLib/GlobalInfo/GmmLibDllMain.cpp
index 7a68046..ac4bed5 100755
--- a/Source/GmmLib/GlobalInfo/GmmLibDllMain.cpp
+++ b/Source/GmmLib/GlobalInfo/GmmLibDllMain.cpp
@@ -150,7 +150,7 @@
/////////////////////////////////////////////////////////////////////////////////////
// Destroys singleton global context and client context
/////////////////////////////////////////////////////////////////////////////////////
-extern "C" GMM_LIB_API void GMM_STDCALL GmmAdaptorDestroy(GMM_INIT_OUT_ARGS *pInArgs)
+extern "C" GMM_LIB_API void GMM_STDCALL GmmAdapterDestroy(GMM_INIT_OUT_ARGS *pInArgs)
{
if(pInArgs && pInArgs->pGmmClientContext)
{
diff --git a/Source/GmmLib/inc/External/Common/GmmLibDll.h b/Source/GmmLib/inc/External/Common/GmmLibDll.h
index 395b150..9619020 100755
--- a/Source/GmmLib/inc/External/Common/GmmLibDll.h
+++ b/Source/GmmLib/inc/External/Common/GmmLibDll.h
@@ -70,7 +70,7 @@
/////////////////////////////////////////////////////////////////////////////////////
GMM_LIB_API GMM_STATUS GMM_STDCALL OpenGmm(GmmExportEntries *pm_GmmFuncs);
GMM_LIB_API GMM_STATUS GMM_STDCALL InitializeGmm(GMM_INIT_IN_ARGS *pInArgs, GMM_INIT_OUT_ARGS *pOutArgs);
- GMM_LIB_API void GMM_STDCALL GmmAdaptorDestroy(GMM_INIT_OUT_ARGS *pInArgs);
+ GMM_LIB_API void GMM_STDCALL GmmAdapterDestroy(GMM_INIT_OUT_ARGS *pInArgs);
#ifdef __cplusplus
}
diff --git a/Source/GmmLib/inc/External/Common/GmmLibDllName.h b/Source/GmmLib/inc/External/Common/GmmLibDllName.h
index bd63d91..ce20eb8 100755
--- a/Source/GmmLib/inc/External/Common/GmmLibDllName.h
+++ b/Source/GmmLib/inc/External/Common/GmmLibDllName.h
@@ -24,9 +24,9 @@
#if defined(_WIN64 ) || defined(__x86_64__) || defined(__LP64__)
#define GMM_ENTRY_NAME "OpenGmm"
#define GMM_INIT_NAME "GmmInit"
- #define GMM_ADAPTOR_INIT_NAME "InitializeGmm"
+ #define GMM_ADAPTER_INIT_NAME "InitializeGmm"
#define GMM_DESTROY_NAME "GmmDestroy"
- #define GMM_ADAPTOR_DESTROY_NAME "GmmAdaptorDestroy"
+ #define GMM_ADAPTER_DESTROY_NAME "GmmAdapterDestroy"
#if defined(_WIN64)
#define GMM_UMD_DLL "igdgmm64.dll"
@@ -36,9 +36,9 @@
#else
#define GMM_ENTRY_NAME "_OpenGmm@4"
#define GMM_INIT_NAME "_GmmInit@48"
- #define GMM_ADAPTOR_INIT_NAME "_InitializeGmm@8"
+ #define GMM_ADAPTER_INIT_NAME "_InitializeGmm@8"
#define GMM_DESTROY_NAME "_GmmDestroy@4"
- #define GMM_ADAPTOR_DESTROY_NAME "_GmmAdaptorDestroy@4"
+ #define GMM_ADAPTER_DESTROY_NAME "_GmmAdapterDestroy@4"
#if defined(_WIN32)
#define GMM_UMD_DLL "igdgmm32.dll"