mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added include guards to coroutine headers
This commit is contained in:
parent
c3244a3574
commit
f1c36f2e6b
10 changed files with 50 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
#ifndef COROUTINE_UCONTEXT_CONTEXT_H
|
||||
#define COROUTINE_UCONTEXT_CONTEXT_H 1
|
||||
|
||||
/*
|
||||
* This file is part of the "Coroutine" project and released under the MIT License.
|
||||
*
|
||||
|
@ -68,3 +71,5 @@ static inline void coroutine_destroy(struct coroutine_context * context)
|
|||
context->state.uc_stack.ss_size = 0;
|
||||
context->from = NULL;
|
||||
}
|
||||
|
||||
#endif /* COROUTINE_UCONTEXT_CONTEXT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue