53 |
|
# pragma GCC system_header |
54 |
|
#endif |
55 |
|
|
56 |
+ |
/* |
57 |
+ |
|
58 |
+ |
If the qhull library is dynamically linked, we need one of these two, |
59 |
+ |
but the qh_QHpointer=0 option appears to work well. |
60 |
+ |
|
61 |
+ |
qh_QHpointer = 1 access globals via a pointer to allocated memory |
62 |
+ |
enables qh_saveqhull() and qh_restoreqhull() |
63 |
+ |
|
64 |
+ |
= 0 qh_qh and qh_qhstat are static data structures |
65 |
+ |
only one instance of qhull() can be active at a time |
66 |
+ |
*/ |
67 |
+ |
|
68 |
+ |
#ifdef qh_QHpointer |
69 |
+ |
#define qh_QHpointer 0 |
70 |
+ |
#endif |
71 |
+ |
|
72 |
|
extern "C" |
73 |
|
{ |
74 |
|
#ifdef HAVE_QHULL_2011 |