root/lang/d/pythond/pcl.d @ 10698

Revision 232, 339 bytes (checked in by itkz, 7 years ago)

commit new D test program uses embedded Python is switched by PCL

Line 
1extern (C) {
2    alias void* coroutine_t;
3    coroutine_t co_create(void (*func)(void *),
4                          void *data, void *stack, int size);
5    void co_delete(coroutine_t coro);
6    void co_call(coroutine_t coro);
7    void co_resume();
8    void co_exit_to(coroutine_t coro);
9    void co_exit();
10    coroutine_t co_current();
11}
Note: See TracBrowser for help on using the browser.