didier deshommes wrote:
> Hi guys,

note that non-male subscribers to this list might find this greating
inappropriate.

> I have some C++ code that I'm wrapping which relies on a variable to
> be declared, but *not* initialized. When the variable is declared,
> everything is fine, but if the variable is not declared, the library
> crashes. Cython discards uninitialized variables,

No, Cython does no such thing. Any variable you declare in your Cython
source will appear in the generated C(++) file (although that may not be
enough for your library to see it according to C/C++ linking rules).

Would you have a code example that shows your problem?

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to