Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
committed by
Paul Beckingham
parent
cae3f06b7d
commit
7af6db4c17
@@ -30,8 +30,6 @@
|
||||
#include <main.h>
|
||||
#include <test.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
{
|
||||
|
||||
@@ -25,13 +25,9 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cmake.h>
|
||||
#include <iostream> // TODO Remove.
|
||||
#include <test.h>
|
||||
#include <DOM.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool providerString (const std::string& path, Variant& var)
|
||||
@@ -72,7 +68,7 @@ int main (int, char**)
|
||||
dom.addSource ("name.next", &providerString);
|
||||
dom.addSource ("name.size", &providerString);
|
||||
dom.addSource ("foo", &providerString);
|
||||
std::cout << dom.dump () << '\n';
|
||||
t.diag (dom.dump ());
|
||||
t.is (dom.count (), 4, "DOM now contains 4 nodes");
|
||||
|
||||
t.ok (dom.valid ("name"), "DOM 'name' valid");
|
||||
|
||||
@@ -27,9 +27,6 @@
|
||||
#include <cmake.h>
|
||||
#include <test.h>
|
||||
#include <Eval.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// A few hard-coded symbols.
|
||||
|
||||
@@ -29,8 +29,6 @@
|
||||
#include <main.h>
|
||||
#include <test.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
{
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#include <util.h>
|
||||
#include <test.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
{
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.0001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,10 +28,8 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
#include <Task.h>
|
||||
|
||||
Context context;
|
||||
Task task;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.0001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
#define EPSILON 0.0001
|
||||
|
||||
|
||||
@@ -28,10 +28,8 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
#include <Task.h>
|
||||
|
||||
Context context;
|
||||
Task task;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
@@ -28,10 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
|
||||
#define EPSILON 0.001
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@
|
||||
#include <iostream>
|
||||
#include <test.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
|
||||
Reference in New Issue
Block a user