From 159666bae6cc185a5abac154b85c49406f32f30c Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 23 Mar 2025 20:56:47 +0300 Subject: Last time I was here 8 months ago, idk what is this --- include/variable.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/variable.h') diff --git a/include/variable.h b/include/variable.h index 4480855..f392a33 100644 --- a/include/variable.h +++ b/include/variable.h @@ -5,7 +5,7 @@ /** - * Tries to find variable in list, NULL if not found. + * Try to find variable in list, NULL if not found. * @see ccl_variable_getany * @param vars Variable list * @param name Variable name @@ -13,7 +13,7 @@ struct CCLVariable *ccl_variable_get(struct CCLVariable *vars, char name); /** - * Tries to find variable in current frame, then in root, NULL if not found. + * Try to find variable in current frame, then in root, NULL if not found. * @see ccl_variable_get * @param ccl CCL instance * @param frame Current frame @@ -21,4 +21,9 @@ struct CCLVariable *ccl_variable_get(struct CCLVariable *vars, char name); */ struct CCLVariable *ccl_variable_getany(struct CCL *ccl, struct CCLFrame *frame, char name); +/** + * Create new variable in list + */ +struct CCLVariable *ccl_variable_set(struct CCLVariable *vars, char name, CCLNum value); + #endif /* __CCL_VARIABLE_H__ */ -- cgit 1.4.1