[Pyrex] C-switch in Pyrex?

Alexander Belchenko bialix at ukr.net
Wed Oct 31 18:02:22 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Is there any way to use switch construct in Pyrex, or to force it's generation in C-output?
I dreaming about construct in Pyrex like:

switch c_int_var:
    case 1:
	do_something()
    case 2:
	do_another_thing()
    default:
	default_action()

(I apologize if this is the stupid question or it was discussed before.)

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKLUezYr338mxwCURAkCUAJ9uuJQ5sxE0r4+kCpn5dfrvk3jWyACdFhQO
rTSv+zjcDd6IoT//qjXCLew=
=5n0N
-----END PGP SIGNATURE-----




More information about the Pyrex mailing list