[Cython] Fwd: forcing uninitialized variables to be declared
didier deshommes
dfdeshom at gmail.com
Thu Sep 4 14:25:11 CEST 2008
Hi guys,
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, which is causing
trouble for me. Is there a way to tell Cython to not touch
uninitialized variables (or just one variable)?
I could always find run a script that patches the generated .cpp file,
but that's cumbersome.
didier
More information about the Cython-dev
mailing list