March 15, 2004
10:34 a.m.
Hi, Just wanted to notify the list that I found the solution. Besides some other errors I made one of the wrapped functions return_internal_reference. This didn't invoke the to_python_converter I registered, but tried to create a wrapped Any object, where no wrapper was existant of course. I made all functions copy_(non)const_reference and it seems that in this case the to_python_converter get's called all the time. That is reasonable, but I think it should be mentioned in the documentation so that people can check if all their functions use copy_const_reference, bacause if you're new to boost.python there are so many things that can be the cause that you just don't kow where to search H.