[C++-sig] help passing image data

J.D. Yamokoski yamokosk at ufl.edu
Thu May 25 17:08:56 CEST 2006


Are there any other C/API calls that are not compatible with 
Boost?

And what is the proper way to shut down the interpreter or reset 
it using Boost?

I will comment this out and see if it has an effect.. I am not 
guessing it will since finalize was not being called when I ran 
into the problems I was having.


On Wed May 24 18:22:07 EDT 2006, "Ralf W. Grosse-Kunstleve" 
<rwgk at yahoo.com> wrote:

> void CPythonDLL::finalize()
> {
> 	Py_Finalize();
> }
>  > CPythonDLL::~CPythonDLL(void)
>> {
>> 	int nIsInit = Py_IsInitialized();
>> 
>> 	if (nIsInit) Py_Finalize();
>> }
> 
> Boost.Python doesn't support Py_Finalize(). You have to comment 
> this out.
> (I am not familiar with embedding and didn't look closely at your 
> message, but
> this stood out to me as a real problem.)
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
> 
> 







More information about the Cplusplus-sig mailing list