https://github.com/N-BodyShop/changa
Raw File
Tip revision: 0fed502a788ec833e260e8b5ce199db3dd2efccc authored by Tim Haines on 10 December 2017, 10:35:00 UTC
Fix possible buffer overflows in calls to sprintf
Tip revision: 0fed502
cosmoType.h
#ifndef __COSMOTYPE_H__
#define __COSMOTYPE_H__

/* #define COSMO_FLOAT */

#ifdef COSMO_FLOAT
#define CONVERT_TO_COSMO_TYPE (float)
typedef float cosmoType;
#define COSMO_CONST(val) val##f
#else
#define CONVERT_TO_COSMO_TYPE
typedef double cosmoType;
#define COSMO_CONST(val) val
#endif

#endif
back to top