diff options
Diffstat (limited to 'include/variable.h')
| -rw-r--r-- | include/variable.h | 9 |
1 files changed, 7 insertions, 2 deletions
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__ */ |