mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-18 22:44:49 +08:00
25 lines
291 B
C++
25 lines
291 B
C++
|
|
#ifndef __MOCKCPP_API_HOOK_H__
|
|
#define __MOCKCPP_API_HOOK_H__
|
|
|
|
#include <mockcpp/mockcpp.h>
|
|
|
|
MOCKCPP_NS_START
|
|
|
|
struct ApiHookImpl;
|
|
|
|
struct ApiHook
|
|
{
|
|
ApiHook ( const void* api
|
|
, const void* stub );
|
|
|
|
~ApiHook();
|
|
|
|
private:
|
|
ApiHookImpl* This;
|
|
};
|
|
|
|
MOCKCPP_NS_END
|
|
|
|
#endif
|