diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-09 07:28:10 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-12-09 07:28:10 -0800 |
commit | 12793ac154b8c9b2e9bb8869cb72bbc1a438dc3d (patch) | |
tree | a350f3f0f7aaba880a3a80859d3050be887d9c31 /starts/meaning-vm/level-2/funcs.hpp | |
parent | e6f2b95fb543b535b1914bd4954e240dbd724275 (diff) | |
download | standingwithresilience-12793ac154b8c9b2e9bb8869cb72bbc1a438dc3d.tar.gz standingwithresilience-12793ac154b8c9b2e9bb8869cb72bbc1a438dc3d.zip |
pass context to habits specifically
Diffstat (limited to 'starts/meaning-vm/level-2/funcs.hpp')
-rw-r--r-- | starts/meaning-vm/level-2/funcs.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starts/meaning-vm/level-2/funcs.hpp b/starts/meaning-vm/level-2/funcs.hpp index 770ff0a..f32679c 100644 --- a/starts/meaning-vm/level-2/funcs.hpp +++ b/starts/meaning-vm/level-2/funcs.hpp @@ -9,7 +9,7 @@ namespace intellect { namespace level2 { ref context(); -ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void()> code); +ref makehabit(ref name, std::initializer_list<ref> argnames, std::function<void(ref)> code); ref dohabit(ref habit, std::initializer_list<ref> args); } |