In message <mailman.4805.1241051447.11746.python-l...@python.org>, Gabriel 
Genellina wrote:

> c_float_p = ctypes.POINTER(ctypes.c_float)
> c_short_p = ctypes.POINTER(ctypes.c_short)

I like to do

    import ctypes as ct

to shorten the references:

    c_float_p = ct.POINTER(ct.c_float)
    c_short_p = ct.POINTER(ct.c_short)

-- 
Lawrence "Death To Wildcard Imports" D'Oliveiro

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to