1
0
Fork 0
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:
Nobuyoshi Nakada 2021-01-22 23:21:25 +09:00
parent c3244a3574
commit f1c36f2e6b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
10 changed files with 50 additions and 0 deletions

View file

@ -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 */