Channge naming scheme for C types

This commit is contained in:
sfilippone
2026-05-04 16:52:58 +02:00
parent 9b95e14b2c
commit 6d4ed9575a
31 changed files with 518 additions and 518 deletions
+14 -14
View File
@@ -10,29 +10,29 @@
#include <math.h>
#include <complex.h>
#endif
typedef int32_t psb_m_t;
typedef int32_t psb_c_m_t;
#if defined(PSB_IPK4) && defined(PSB_LPK4)
typedef int32_t psb_i_t;
typedef int32_t psb_l_t;
typedef int32_t psb_c_i_t;
typedef int32_t psb_c_l_t;
#elif defined(PSB_IPK4) && defined(PSB_LPK8)
typedef int32_t psb_i_t;
typedef int64_t psb_l_t;
typedef int32_t psb_c_i_t;
typedef int64_t psb_c_l_t;
#elif defined(PSB_IPK8) && defined(PSB_LPK8)
typedef int64_t psb_i_t;
typedef int64_t psb_l_t;
typedef int64_t psb_c_i_t;
typedef int64_t psb_c_l_t;
#else
#endif
typedef int64_t psb_e_t;
typedef int64_t psb_c_e_t;
typedef float psb_s_t;
typedef double psb_d_t;
typedef float psb_c_s_t;
typedef double psb_c_d_t;
#ifdef __cplusplus
typedef std::complex<float> psb_c_t;
typedef std::complex<double> psb_z_t;
typedef std::complex<float> psb_c_c_t;
typedef std::complex<double> psb_c_z_t;
#else
typedef float complex psb_c_t;
typedef double complex psb_z_t;
typedef float complex psb_c_c_t;
typedef double complex psb_c_z_t;
#endif
#endif