1 /* -*- Mode: c; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ 2 /* 3 libconcurrent 4 Copyright (C) 2010-2016 sharow 5 */ 6 7 #ifndef __SHORTNAME_H__ 8 #define __SHORTNAME_H__ 9 10 #include <concurrent/concurrent.h> 11 12 #define ctx_sizeof concurrent_sizeof 13 #define ctx_construct concurrent_construct 14 #define ctx_destruct concurrent_destruct 15 16 #define resume_value concurrent_resume_with_value 17 #define resume concurrent_resume 18 #define ctx_get_resume_value concurrent_get_resume_value 19 #define yield_value concurrent_yield_with_value 20 #define yield concurrent_yield 21 #define ctx_get_yield_value concurrent_get_yield_value 22 #define ctx_reset concurrent_reset 23 #define ctx_get_user_ptr concurrent_get_user_ptr 24 #define ctx_get_stack_used concurrent_get_stack_used 25 #define ctx_get_stack concurrent_get_stack 26 #define ctx_is_done concurrent_is_done 27 28 29 #endif 30