Fixup last commit linker error (Future's algorithm)

.. last commit introduced a compiler error on missing global variables.

   the intention here is to take future's algorithm, embed into a class
   and add wrappers for user charts / datafilters.
This commit is contained in:
Mark Liversedge
2021-09-28 20:00:22 +01:00
parent 53ee8f358c
commit dfdf0c5898

View File

@@ -76,6 +76,15 @@ QDesktopWidget *desktop = NULL;
HttpListener *listener = NULL;
#endif
// future's algorithm (needs to be refactored into a class)
extern "C" {
#include "../contrib/voronoi/vdefs.h"
int sorted, triangulate, plot, debug, nsites, siteidx ;
float xmin, xmax, ymin, ymax ;
Site * sites ;
Freelist sfl ;
}
// R is not multithreaded, has a single instance that we setup at startup.
#ifdef GC_WANT_R
#include <RTool.h>