mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
12 lines
229 B
C
12 lines
229 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
|
|
struct coroutine_stack {
|
|
void *base;
|
|
size_t size;
|
|
};
|
|
|
|
int coroutine_stack_allocate(struct coroutine_stack *stack, size_t size);
|
|
void coroutine_stack_free(struct coroutine_stack *stack);
|