diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-01-20 04:19:35 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-01-20 04:19:35 +0000 |
commit | 242d67fb17619670d9b757c442dcf2e26d8478a1 (patch) | |
tree | 1f61e8bf59450a028415e5a3f08565a6ceb86afe /dlltest.cpp | |
parent | 4b85e6cac0d84aaf65d0695adb137ae956e4e241 (diff) | |
download | cryptopp-242d67fb17619670d9b757c442dcf2e26d8478a1.tar.gz |
changes done for FIPS-140 lab code drop
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@195 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'dlltest.cpp')
-rw-r--r-- | dlltest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dlltest.cpp b/dlltest.cpp index 149d27d..85b8bdd 100644 --- a/dlltest.cpp +++ b/dlltest.cpp @@ -177,18 +177,18 @@ void FIPS140_SampleApplication() static PNew s_pNew = NULL; static PDelete s_pDelete = NULL; -extern "C" __declspec(dllexport) void CRYPTOPP_CDECL SetNewAndDeleteFromCryptoPP(PNew pNew, PDelete pDelete, PSetNewHandler pSetNewHandler) +extern "C" __declspec(dllexport) void __cdecl SetNewAndDeleteFromCryptoPP(PNew pNew, PDelete pDelete, PSetNewHandler pSetNewHandler) { s_pNew = pNew; s_pDelete = pDelete; } -void * CRYPTOPP_CDECL operator new (size_t size) +void * __cdecl operator new (size_t size) { return s_pNew(size); } -void CRYPTOPP_CDECL operator delete (void * p) +void __cdecl operator delete (void * p) { s_pDelete(p); } @@ -197,7 +197,7 @@ void CRYPTOPP_CDECL operator delete (void * p) #ifdef CRYPTOPP_DLL_ONLY -int CRYPTOPP_CDECL main() +int __cdecl main() { FIPS140_SampleApplication(); return 0; |