summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-2/funcs.hpp
diff options
context:
space:
mode:
authorolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-09 07:28:10 -0800
committerolpc user <olpc@xo-5d-f7-86.localdomain>2019-12-09 07:28:10 -0800
commit12793ac154b8c9b2e9bb8869cb72bbc1a438dc3d (patch)
treea350f3f0f7aaba880a3a80859d3050be887d9c31 /starts/meaning-vm/level-2/funcs.hpp
parente6f2b95fb543b535b1914bd4954e240dbd724275 (diff)
downloadstandingwithresilience-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.hpp2
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);
}