mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
Added LICENSE.txt and GPLv3.txt. Also updated libco documentation. After discussion with byuu, libco gets a more specific ISC license to match nall, ruby and hiro. higan, as clarified in LICENSE.txt, continues to be GPL version 3 only (no "or later" clause).
26 lines
355 B
C
26 lines
355 B
C
/*
|
|
libco v18.01 (2017-01-22)
|
|
author: byuu
|
|
license: ISC
|
|
*/
|
|
|
|
#ifndef LIBCO_H
|
|
#define LIBCO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void* cothread_t;
|
|
|
|
cothread_t co_active();
|
|
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
|