|
|
@ -8,14 +8,6 @@ |
|
|
|
#include <pEp/sync_api.h>
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
// TODO: put into not yet existing libpEpAdapter_utils.h, to be across whole libpEpAdapter
|
|
|
|
#ifdef NDEBUG
|
|
|
|
#define pEpLog(msg) do{}while(0)
|
|
|
|
#else
|
|
|
|
#include <iostream>
|
|
|
|
#define pEpLog(msg) do{std::cerr << __FILE__ << "::" << __FUNCTION__ << " - " << msg << '\n';} while(0)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace pEp { |
|
|
|
|
|
|
|
// throws std::bad_alloc if status==PEP_OUT_OF_MEMORY,
|
|
|
|