Created
April 22, 2009 21:29
-
-
Save abscondment/100094 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/edgelist.c b/ext/edgelist.c | |
index 2cb7dd0..ff8cef8 100644 | |
--- a/ext/edgelist.c | |
+++ b/ext/edgelist.c | |
@@ -3,8 +3,6 @@ | |
#include "vdefs.h" | |
-VoronoiState rubyvorState; | |
- | |
static int ELhashsize ; | |
static Halfedge * ELleftend, * ELrightend, ** ELhash ; | |
static Freelist hfl ; | |
diff --git a/ext/geometry.c b/ext/geometry.c | |
index a3b80d6..3b56cdd 100644 | |
--- a/ext/geometry.c | |
+++ b/ext/geometry.c | |
@@ -4,8 +4,6 @@ | |
#include <math.h> | |
#include "vdefs.h" | |
-VoronoiState rubyvorState; | |
- | |
static Freelist efl; | |
void | |
diff --git a/ext/heap.c b/ext/heap.c | |
index 34237f1..9222c29 100644 | |
--- a/ext/heap.c | |
+++ b/ext/heap.c | |
@@ -4,8 +4,6 @@ | |
#include "vdefs.h" | |
-VoronoiState rubyvorState; | |
- | |
static int PQmin, PQcount, PQhashsize ; | |
static Halfedge * PQhash ; | |
diff --git a/ext/memory.c b/ext/memory.c | |
index 3046ddc..d29d45d 100644 | |
--- a/ext/memory.c | |
+++ b/ext/memory.c | |
@@ -7,8 +7,6 @@ | |
#include "vdefs.h" | |
-VoronoiState rubyvorState; | |
- | |
static char** memory_map; | |
static int nallocs = 0; | |
diff --git a/ext/output.c b/ext/output.c | |
index 0f87fc8..8f9cd8b 100644 | |
--- a/ext/output.c | |
+++ b/ext/output.c | |
@@ -5,8 +5,6 @@ | |
#include <stdio.h> | |
#include <unistd.h> | |
-VoronoiState rubyvorState; | |
- | |
static float pxmin, pxmax, pymin, pymax, cradius; | |
void openpl(void) {} | |
diff --git a/ext/voronoi.c b/ext/voronoi.c | |
index 186231f..7e9176b 100644 | |
--- a/ext/voronoi.c | |
+++ b/ext/voronoi.c | |
@@ -5,6 +5,8 @@ | |
#include <vdefs.h> | |
#include <stdio.h> | |
+VoronoiState rubyvorState; | |
+ | |
/* Static method definitions: C -> Ruby storage methods. */ | |
static void storeTriangulationTriplet(const int, const int, const int); | |
static void storeLine(const float, const float, const float); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment