about summary refs log tree commit diff stats
path: root/src/teliva.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-01-03 13:26:38 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-01-03 13:26:38 -0800
commit7812ebc5f119cd4c47e6a91db0561008c7080bc5 (patch)
treee57163280775e4608c2f03f84940f39e48f07c38 /src/teliva.h
parent1c78ab3d2e380ca633a3812e4779de0e67abf3d6 (diff)
downloadteliva-7812ebc5f119cd4c47e6a91db0561008c7080bc5.tar.gz
start saving callers of functions
I think this is significantly slowing things down. Perhaps we should
sample or something.
Diffstat (limited to 'src/teliva.h')
-rw-r--r--src/teliva.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/teliva.h b/src/teliva.h
index f783eec..6484298 100644
--- a/src/teliva.h
+++ b/src/teliva.h
@@ -163,6 +163,7 @@ extern void save_to_current_definition_and_editor_buffer(lua_State* L, const cha
 extern void save_editor_state(int rowoff, int coloff, int cy, int cx);
 
 extern void assign_call_graph_depth_to_name(lua_State* L, int depth, const char* name);
+extern void save_caller(lua_State* L, const char* name);
 extern void append_to_audit_log(lua_State* L, const char* buffer);
 
 /* Standard UI elements */