mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Stricter env objects to attach to ci
- Don't create multiple envs on one ci. - Don't share a env to different ci. - Don't attach a closed env to any ci. Changes in `envadjust()` can be simplified with those guarantees.
This commit is contained in:
@@ -16,6 +16,13 @@
|
||||
*/
|
||||
MRB_BEGIN_DECL
|
||||
|
||||
/*
|
||||
* env object (for internal used)
|
||||
*
|
||||
* - don't create multiple envs on one ci.
|
||||
* - don't share a env to different ci.
|
||||
* - don't attach a closed env to any ci.
|
||||
*/
|
||||
struct REnv {
|
||||
MRB_OBJECT_HEADER;
|
||||
mrb_value *stack;
|
||||
|
||||
Reference in New Issue
Block a user