@ -13,34 +13,6 @@
namespace pEp {
char * alloc_str ( const std : : string & str )
{
char * ret = strdup ( str . c_str ( ) ) ;
pEpLog ( CXX : : Inspect : : all ( ret ) ) ;
return ret ;
}
template < class T >
void free ( T ptr_type )
{
pEpLog ( CXX : : Inspect : : all ( ptr_type ) ) ;
: : pEp_free ( ptr_type ) ;
}
template < >
void free ( char * ptr_type )
{
pEpLog ( CXX : : Inspect : : all ( ptr_type ) ) ;
: : pEp_free ( ptr_type ) ;
}
template < >
void free ( : : pEp_identity * ptr_type )
{
pEpLog ( CXX : : Inspect : : all ( ptr_type ) ) ;
: : pEp_free ( ptr_type ) ;
}
//---------------------------------------------------------------------------------------------
# define EXSTR(msg) std::string(__FUNCTION__) + "() - " + msg