[Pyrex] Simpler automatic C name specifications
Michael Hoffman
hoffman at ebi.ac.uk
Wed Oct 6 15:29:03 CEST 2004
I like to be able to look at the intermediate C output of a pyrex file
to see what is going on, but this becomes somewhat messy with all the
different __pyx_v_* names being generated. I usually get around this
using code like this:
cdef int d "d"
cdef char *x "x", *y "y"
cdef int len_x "len_x", len_y "len_y"
cdef int i "i", j "j", score "score"
cdef int trace "trace"
cdef int value "value", comp_value "comp_value", offset "offset"
Is there any way to generate these names as-is automatically or am I
stuck with specifying them individually? Also, is there a way to
specify C names for function arguments?
Thanks,
--
Michael Hoffman <hoffman at ebi.ac.uk>
European Bioinformatics Institute
More information about the Pyrex
mailing list