Set symbols visibility to public for util functions

This commit is contained in:
Ingo Lütkebohle 2019-10-18 17:07:18 +00:00 committed by Christophe Bedard
parent ad46e04ebe
commit 7dea456122
10 changed files with 19 additions and 11 deletions

View file

@ -18,11 +18,13 @@
#include <stddef.h>
#include <functional>
#include "tracetools/visibility_control.hpp"
#define SYMBOL_UNKNOWN "UNKNOWN"
const char * _demangle_symbol(const char * mangled);
TRACETOOLS_PUBLIC const char * _demangle_symbol(const char * mangled);
const char * _get_symbol_funcptr(void * funcptr);
TRACETOOLS_PUBLIC const char * _get_symbol_funcptr(void * funcptr);
template<typename T, typename ... U>
const char * get_symbol(std::function<T(U...)> f)