mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
...
This commit is contained in:
parent
284148f1ab
commit
72b9f3a277
@ -112,6 +112,7 @@ struct Type {
|
||||
|
||||
#define PK_LAMBDA(x) ([](VM* vm, ArgsView args) { return x; })
|
||||
#define PK_VAR_LAMBDA(x) ([](VM* vm, ArgsView args) { return VAR(x); })
|
||||
#define PK_NONE_LAMBDA(x) ([](VM* vm, ArgsView args) { x; return vm->None; })
|
||||
|
||||
#ifdef POCKETPY_H
|
||||
#define FATAL_ERROR() throw std::runtime_error( "L" + std::to_string(__LINE__) + " FATAL_ERROR()!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user