[C++-sig] void* questions\thoughts
Roman Yakovenko
roman.yakovenko at gmail.com
Mon Oct 31 14:27:48 CET 2005
Hi. There is nice explanation in boost.python FAQs how to export
function that takes\returns
void*. I have 2 questions:
1. Why void_ should be defined in each translation unit? If I understand right
"translation unit" is cpp file?
If there is no special reason to define void_ in every translation
unit, then next question:
2. Why boost.python does not define void_ class and does not registrate it?
BOOST_PYTHON_OPAQUE_SPECIALIZED_TYPE_ID( void_ )
Thanks
Roman Yakovenko
More information about the Cplusplus-sig
mailing list