weave_data_type function

(Shortest import: from brian2.codegen.runtime.weave_rt.weave_rt import weave_data_type)

brian2.codegen.runtime.weave_rt.weave_rt.weave_data_type(dtype)[source]

Gives the C language specifier for numpy data types using weave. For example, numpy.int32 maps to long in C.