You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pEpJSONServerAdapter/server/c_string.cc

22 lines
353 B
C++

#include "c_string.hh"
#include <pEp/pEpEngine.h>
template<>
Out<c_string, ParamFlag::Default>::~Out()
{
pEp_free(value);
}
template<>
Out<c_string, ParamFlag::DontOwn>::~Out()
{
// don't pEp_free() the value!
}
template<>
In<size_t, ParamFlag::NoInput>::~In()
{}
template<>
js::Value Type2String<binary_string>::get() { return "BinaryString"; }