mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tidy up comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dba6b87b29
commit
3710dedc12
12 changed files with 42 additions and 64 deletions
|
@ -1,10 +1,9 @@
|
|||
//
|
||||
// amd64.h
|
||||
// File file is part of the "Coroutine" project and released under the MIT License.
|
||||
//
|
||||
// Created by Samuel Williams on 10/5/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 10/5/2018.
|
||||
* Copyright, 2018, by Samuel Williams. All rights reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@ -19,13 +18,11 @@ extern "C" {
|
|||
|
||||
const size_t COROUTINE_REGISTERS = 6;
|
||||
|
||||
// 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);
|
||||
|
||||
inline void coroutine_initialize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue