summaryrefslogtreecommitdiff
path: root/coroutine/x86/Context.h
diff options
context:
space:
mode:
authorsamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:29 +0000
committersamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:29 +0000
commit3710dedc1228dddd65cfb677b87a59b8ea4e91a4 (patch)
treec9e15bec76ff0acfd64bb74ea6a12c359a4489ca /coroutine/x86/Context.h
parentdba6b87b296c864776848819c76f9ff7c595cec4 (diff)
Tidy up comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/x86/Context.h')
-rw-r--r--coroutine/x86/Context.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h
index c7e61c7a67..82fd1b75ff 100644
--- a/coroutine/x86/Context.h
+++ b/coroutine/x86/Context.h
@@ -1,9 +1,9 @@
-//
-// File file is part of the "Coroutine" project and released under the MIT License.
-//
-// Created by Samuel Williams on 3/11/2018.
-// Copyright, 2018, by Samuel Williams. All rights reserved.
-//
+/*
+ * This file is part of the "Coroutine" project and released under the MIT License.
+ *
+ * Created by Samuel Williams on 3/11/2018.
+ * Copyright, 2018, by Samuel Williams. All rights reserved.
+*/
#pragma once
@@ -18,13 +18,11 @@ extern "C" {
const size_t COROUTINE_REGISTERS = 4;
-// The fiber context (stack pointer).
typedef struct
{
void **stack_pointer;
} coroutine_context;
-// The initialization function.
typedef void(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall));
void coroutine_initialize(