diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:18:01 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:18:01 +0000 |
commit | 0ba0ad8b415bd9601d05e14a30d34344dfcc1b71 (patch) | |
tree | f8737d08f3df4e5eb456a17b5ac9809735fa335a /coroutine/win64 | |
parent | 972cc2d50bab1b25099c0740457912b10e997346 (diff) | |
download | ruby-0ba0ad8b415bd9601d05e14a30d34344dfcc1b71.tar.gz |
Fix struct usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/win64')
-rw-r--r-- | coroutine/win64/Context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coroutine/win64/Context.h b/coroutine/win64/Context.h index b3afed691f..a72ce530f8 100644 --- a/coroutine/win64/Context.h +++ b/coroutine/win64/Context.h @@ -19,10 +19,10 @@ extern "C" { const size_t COROUTINE_REGISTERS = 8; const size_t COROUTINE_XMM_REGISTERS = 1+10*2; -struct coroutine_context +typedef struct { void **stack_pointer; -}; +} coroutine_context; typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self); |