21 #ifndef __TBB_dynamic_link 22 #define __TBB_dynamic_link 30 #define __TBB_ASSERT(x,y) LIBRARY_ASSERT(x,y) 32 #define LIBRARY_ASSERT(x,y) __TBB_ASSERT_EX(x,y) 38 #ifndef OPEN_INTERNAL_NAMESPACE 39 #define OPEN_INTERNAL_NAMESPACE namespace tbb { namespace internal { 40 #define CLOSE_INTERNAL_NAMESPACE }} 56 #if __TBB_WEAK_SYMBOLS_PRESENT 57 #define DLD(s,h) {#s, (pointer_to_handler*)(void*)(&h), (pointer_to_handler)&s} 58 #define DLD_NOWEAK(s,h) {#s, (pointer_to_handler*)(void*)(&h), NULL} 60 #define DLD(s,h) {#s, (pointer_to_handler*)(void*)(&h)} 61 #define DLD_NOWEAK(s,h) DLD(s,h) 69 #if __TBB_WEAK_SYMBOLS_PRESENT const char * name
Name of the handler.
#define CLOSE_INTERNAL_NAMESPACE
Association between a handler name and location of pointer to it.
void dynamic_unlink(dynamic_link_handle handle)
const int DYNAMIC_LINK_ALL
bool dynamic_link(const char *library, const dynamic_link_descriptor descriptors[], size_t required, dynamic_link_handle *handle=0, int flags=DYNAMIC_LINK_ALL)
Fill in dynamically linked handlers.
void dynamic_unlink_all()
const int DYNAMIC_LINK_WEAK
#define OPEN_INTERNAL_NAMESPACE
const int DYNAMIC_LINK_LOAD
void * dynamic_link_handle
const int DYNAMIC_LINK_GLOBAL
pointer_to_handler * handler
Pointer to the handler.
OPEN_INTERNAL_NAMESPACE typedef void(* pointer_to_handler)()
Type definition for a pointer to a void somefunc(void)