From 59b883431996e4d52d74d8926bc48243ec9dc8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 21 Apr 2016 09:47:00 +0200 Subject: vis: do not lazy allocate :-commands The built in commands should always be available. --- sam.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sam.h') diff --git a/sam.h b/sam.h index 6521834..f44079a 100644 --- a/sam.h +++ b/sam.h @@ -17,7 +17,8 @@ enum SamError { SAM_ERR_EXECUTE, }; -enum SamError sam_cmd(Vis *vis, const char *cmd); +bool sam_init(Vis*); +enum SamError sam_cmd(Vis*, const char *cmd); const char *sam_error(enum SamError); #endif -- cgit v1.2.3