diff options
Diffstat (limited to 'coroutine/win32')
-rw-r--r-- | coroutine/win32/Context.asm | 3 | ||||
-rw-r--r-- | coroutine/win32/Context.h | 15 |
2 files changed, 7 insertions, 11 deletions
diff --git a/coroutine/win32/Context.asm b/coroutine/win32/Context.asm index aa27099cfe..8fa13831bc 100644 --- a/coroutine/win32/Context.asm +++ b/coroutine/win32/Context.asm @@ -1,6 +1,5 @@ ;; -;; win32.asm -;; File file is part of the "Coroutine" project and released under the MIT License. +;; 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. diff --git a/coroutine/win32/Context.h b/coroutine/win32/Context.h index e5283cd4b0..30cb5a982d 100644 --- a/coroutine/win32/Context.h +++ b/coroutine/win32/Context.h @@ -1,10 +1,9 @@ -// -// win32.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 = 4; -// The fiber context (stack pointer). struct coroutine_context { void **stack_pointer; }; -// The initialization function. typedef void(__fastcall * coroutine_start)(coroutine_context *from, coroutine_context *self); inline void coroutine_initialize( |