You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
568 B
30 lines
568 B
5 years ago
|
#include "webfuse/mocks/mock_jsonrpc_proxy.hpp"
|
||
|
#include "webfuse/utils/wrap.hpp"
|
||
|
|
||
|
extern "C"
|
||
|
{
|
||
|
static webfuse_test::MockJsonRpcProxy * webfuse_test_MockJsonRpcProxy = nullptr;
|
||
|
|
||
|
WF_WRAP_FUNC6(webfuse_test_MockJsonRpcProxy, void, wf_jsonrpc_proxy_vinvoke,
|
||
|
struct wf_jsonrpc_proxy *,
|
||
|
wf_jsonrpc_proxy_finished_fn *,
|
||
|
void *,
|
||
|
char const *,
|
||
|
char const *,
|
||
|
va_list);
|
||
|
}
|
||
|
|
||
|
namespace webfuse_test
|
||
|
{
|
||
|
|
||
|
MockJsonRpcProxy::MockJsonRpcProxy()
|
||
|
{
|
||
|
webfuse_test_MockJsonRpcProxy = this;
|
||
|
}
|
||
|
|
||
|
MockJsonRpcProxy::~MockJsonRpcProxy()
|
||
|
{
|
||
|
webfuse_test_MockJsonRpcProxy = nullptr;
|
||
|
}
|
||
|
|
||
|
}
|