mirror of
https://github.com/janet-lang/janet
synced 2026-11-24 16:17:10 +00:00
Preliminary fiber marshaling
This commit is contained in:
1 parent
634ec85b07
commit
50aefc8865
2 files changed
+53
-2
No files matched your search
@@ -531,6 +531,7 @@ struct DstArgs {
|
||||
|
||||
/* Fiber flags */
|
||||
#define DST_FIBER_FLAG_SIGNAL_WAITING (1 << 30)
|
||||
#define DST_FIBER_FLAG_HASCHILD (1 << 29)
|
||||
|
||||
/* Fiber signal masks. */
|
||||
#define DST_FIBER_MASK_ERROR 2
|
||||
@@ -565,7 +566,7 @@ struct DstFiber {
|
||||
int32_t stacktop; /* Top of stack. Where values are pushed and popped from. */
|
||||
int32_t capacity;
|
||||
int32_t maxstack; /* Arbitrary defined limit for stack overflow */
|
||||
uint32_t flags; /* Various flags */
|
||||
int32_t flags; /* Various flags */
|
||||
};
|
||||
|
||||
/* Mark if a stack frame is a tail call for debugging */
|
||||
|
||||
Reference in new issue
Block a user