cluda/dtypes: fixed logic in c_constant()
cluda/dtypes: added flatten_dtype() function
transpose: fixed crashes in case of struct dtypes