Make hookset<T> a pointer type, just like purehookset.

No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
This commit is contained in:
Arthur O'Dwyer
2020-04-12 10:50:18 -04:00
parent 934e3d9a42
commit 0d42168139
23 changed files with 44 additions and 43 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ void moreStack() {
#endif
namespace hr {
EX hookset<bool(int argc, char** argv)> *hooks_main;
EX hookset<bool(int argc, char** argv)> hooks_main;
EX int hyper_main(int argc, char **argv) {
using namespace hr;