2014-11-20 17:09 GMT+04:00 Klaim - Joël Lamotte
Antony,
On Fri, Oct 3, 2014 at 3:24 PM, Klaim - Joël Lamotte
wrote: Instead of :
BOOST_DLL_ALIAS( my_namespace::cpp_function_name, cpp_function_alias_name )
Something like:
BOOST_DLL_AUTO_ALIAS( my_namespace::cpp_function_name )
did you have the time to consider this suggestion? Is this doable? I don't see it in the develop branch so if you found an issue with this I would like to learn from it.
The idea is great, but I do not know how to implement it. The following macro: BOOST_DLL_ALIAS( my_namespace::cpp_function_name, cpp_function_alias_name ) is expanded into the following: extern "C" void* cpp_function_alias_name = &my_namespace::cpp_function_name; It means that BOOST_DLL_AUTO_ALIAS(my_namespace::cpp_function_name) must be able somehow to cut off the namespaces leaving only the variable/function name. -- Best regards, Antony Polukhin