summaryrefslogtreecommitdiffstats
path: root/src/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coroutine.h')
-rw-r--r--src/coroutine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/coroutine.h b/src/coroutine.h
index 7a7cd1c..a054308 100644
--- a/src/coroutine.h
+++ b/src/coroutine.h
@@ -24,6 +24,9 @@ public:
static Coroutine *currentCoroutine();
+// add declarations for static build(...) function
+#include "coroutinebuilddeclaration_p.h"
+
protected:
virtual void run() {}
@@ -40,4 +43,7 @@ private:
Status _status;
};
+// add definitions for static build(...) function
+#include "coroutinebuilddefinition_p.h"
+
#endif // INCLUDE_COROUTINE_H