Mercurial > projects > pwm
comparison pwm.h @ 27:722a45b4028b
Add define command for defining macros
Macros are parsed when they are defined with the D command and can
subsequently be used as arguments for other commands.
Handle out of memory errors directly in tok.c.
author | Guido Berhoerster <guido+pwm@berhoerster.name> |
---|---|
date | Mon, 25 Sep 2017 21:21:25 +0200 |
parents | 1b89066d992c |
children | e3db02d7f1f4 |
comparison
equal
deleted
inserted
replaced
26:5bdea77d0c1d | 27:722a45b4028b |
---|---|
53 struct pws3_file *file; | 53 struct pws3_file *file; |
54 struct record_id_tree *record_id_tree; | 54 struct record_id_tree *record_id_tree; |
55 int unsaved_changes; | 55 int unsaved_changes; |
56 unsigned int next_id; | 56 unsigned int next_id; |
57 char password[PWS3_MAX_PASSWORD_LEN + 1]; | 57 char password[PWS3_MAX_PASSWORD_LEN + 1]; |
58 struct macro_head *macro_head; | |
58 }; | 59 }; |
59 | 60 |
60 void pwm_err(struct pwm_ctx *, char *, ...); | 61 void pwm_err(struct pwm_ctx *, char *, ...); |
61 void pwm_block_signals(void); | 62 void pwm_block_signals(void); |
62 void pwm_unblock_signals(void); | 63 void pwm_unblock_signals(void); |