Sha256: 084630a543c71812f43cdb27d1a8565115b5a412e418298c2d4f65b2abab8655

Contents?: true

Size: 956 Bytes

Versions: 3

Compression:

Stored size: 956 Bytes

Contents

/*
  Preface header for GEOS wrapper
*/


#ifdef HAVE_GEOS_C_H
#ifdef HAVE_GEOSSETSRID_R
#define RGEO_GEOS_SUPPORTED
#endif
#endif

#ifdef HAVE_GEOSPREPAREDCONTAINS_R
#define RGEO_GEOS_SUPPORTS_PREPARED1
#endif
#ifdef HAVE_GEOSPREPAREDDISJOINT_R
#define RGEO_GEOS_SUPPORTS_PREPARED2
#endif
#ifdef HAVE_GEOSWKTWWRITER_SETOUTPUTDIMENSION_R
#define RGEO_GEOS_SUPPORTS_SETOUTPUTDIMENSION
#endif
#ifdef HAVE_GEOSUNARYUNION_R
#define RGEO_GEOS_SUPPORTS_UNARYUNION
#endif
#ifdef HAVE_GEOSCOORDSEQ_ISCCW_R
#define RGEO_GEOS_SUPPORTS_ISCCW
#endif
#ifdef HAVE_RB_MEMHASH
#define RGEO_SUPPORTS_NEW_HASHING
#endif

#ifndef RGEO_SUPPORTS_NEW_HASHING
#define st_index_t int
#define rb_memhash(x,y) rgeo_internal_memhash(x,y)
#define rb_hash_start(x) ((st_index_t)(x ^ 0xdeadbeef))
#define rb_hash_end(x) ((st_index_t)(x ^ 0xbeefdead))
#endif

#ifdef __cplusplus
#define RGEO_BEGIN_C extern "C" {
#define RGEO_END_C }
#else
#define RGEO_BEGIN_C
#define RGEO_END_C
#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rgeo-2.3.1 ext/geos_c_impl/preface.h
rgeo-2.3.0 ext/geos_c_impl/preface.h
rgeo-2.2.0 ext/geos_c_impl/preface.h