From 4b21a0fa4e6a7e35b7d9a01bbc0a7080dd392996 Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Sat, 16 Jan 2016 12:31:42 -0500
Subject: dynamic world linking

---
 src/common.cpp | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

(limited to 'src/common.cpp')

diff --git a/src/common.cpp b/src/common.cpp
index 84515c3..2d35313 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -92,3 +92,32 @@ void strVectorSortAlpha(std::vector<std::string> *v){
 		}
 	}while(change);
 }
+
+
+
+/*int strCreateFunc(const char *equ){
+	static unsigned int size;
+	static char *filebuf;
+	static FILE *file;
+	
+	size = 57 + strlen(equ) + 3;
+	
+	filebuf = new char[size];
+	memset(filebuf,0,size);
+	
+	strcpy(filebuf,"#include <stdio.h>\n#include <math.h>\nint main(){return ");
+	strcat(filebuf,equ);
+	strcat(filebuf,";}");
+	
+	if(!(file = fopen("gen.tmp","w"))){
+		abort();
+	}
+	
+	fwrite(filebuf,size,sizeof(char),file);
+	delete[] filebuf;
+	fclose(file);
+	
+	system("
+	
+	return 0;
+}*/
-- 
cgit v1.2.3