- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.cpp
More file actions
Latest commit
23 lines (17 loc) · 656 Bytes
/
Copy pathbootstrap.cpp
File metadata and controls
23 lines (17 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include<iostream>
#include<bulkrays/bulkrays.h>
namespacebulkrays { inttestsite_global (bulkrays::BSOperation op); } // testsite.cpp
namespacesimplefmap { intsimplefmap_global (bulkrays::BSOperation op); } // simplefmap.cpp
namespacebulkrays {
usingnamespacestd;
intbootstrap_global (bulkrays::BSOperation op) {
int i = 0;
if (bulkrays::testsite_global(op) != 0) i++; // testsite.cpp
if (simplefmap::simplefmap_global(op) != 0) i++; // simplefmap.cpp
if (i != 0) {
cerr << "bootstrap_global(" << op << ") : " << i << "errors reported" << endl;
return -1;
} else
return0;
}
} // namespace bulkrays