40 #ifndef GEOGRAM_API_DEFS
41 #define GEOGRAM_API_DEFS
54 #if defined(__clang__)
55 #pragma clang diagnostic ignored "-Wunknown-pragmas"
56 #pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
63 #if defined(GEO_DYNAMIC_LIBS)
65 #define GEO_IMPORT __declspec(dllimport)
66 #define GEO_EXPORT __declspec(dllexport)
67 #elif defined(__GNUC__)
69 #define GEO_EXPORT __attribute__ ((visibility("default")))
79 #ifdef geogram_EXPORTS
80 #define GEOGRAM_API GEO_EXPORT
82 #define GEOGRAM_API GEO_IMPORT
93 #define NO_GEOGRAM_API
int GeoMesh
Opaque identifier of a mesh.
int geo_boolean
Represents truth values.
double geo_coord_t
Represents floating-point coordinates.
unsigned char geo_coord_index_t
Represents dimension (e.g. 3 for 3d, 4 for 4d ...).
unsigned int geo_index_t
Represents indices.
int geo_signed_index_t
Represents possibly negative indices.