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.
27 lines
428 B
27 lines
428 B
5 years ago
|
#include "mock/libconfig.hpp"
|
||
|
#include "util/wrap.hpp"
|
||
5 years ago
|
|
||
|
extern "C"
|
||
|
{
|
||
|
|
||
|
static webfused_test::ILibConfig * wfd_MockLibConfig = nullptr;
|
||
|
|
||
|
WFD_WRAP_FUNC2(wfd_MockLibConfig, config_setting_t *, config_setting_get_elem,
|
||
|
config_setting_t const *, unsigned int);
|
||
|
|
||
|
}
|
||
|
|
||
|
namespace webfused_test
|
||
|
{
|
||
|
|
||
|
MockLibConfig::MockLibConfig()
|
||
|
{
|
||
|
wfd_MockLibConfig = this;
|
||
|
}
|
||
|
|
||
|
MockLibConfig::~MockLibConfig()
|
||
|
{
|
||
|
wfd_MockLibConfig = nullptr;
|
||
|
}
|
||
|
|
||
|
}
|