summaryrefslogtreecommitdiff
path: root/libco.h
diff options
context:
space:
mode:
Diffstat (limited to 'libco.h')
-rw-r--r--libco.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/libco.h b/libco.h
deleted file mode 100644
index 1464804..0000000
--- a/libco.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- libco
- version: 0.16 (2010-12-24)
- license: public domain
-*/
-
-#ifndef LIBCO_H
-#define LIBCO_H
-
-#ifdef LIBCO_C
- #ifdef LIBCO_MP
- #define thread_local __thread
- #else
- #define thread_local
- #endif
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void* cothread_t;
-
-cothread_t co_active(void);
-
-cothread_t co_create(unsigned int, void (*)(void));
-
-void co_delete(cothread_t);
-
-void co_switch(cothread_t);
-
-#ifdef __cplusplus
-}
-#endif
-
-/* ifndef LIBCO_H */
-#endif