From 3b33fa0aeb5262335cd708b167caad8f41b8a5dd Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 29 Mar 2018 13:36:29 -0400 Subject: documentation, error fixes, organization --- ops.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ops.h') diff --git a/ops.h b/ops.h index 5941d02..4257f07 100644 --- a/ops.h +++ b/ops.h @@ -42,4 +42,12 @@ extern variable opvars[]; */ extern const char *opnames[]; +/** + * Gets the variable for the given operator. + * @param name the operator (e.g. "+") + * @param retlen if not null, stores the operator string's length here + * @return variable for the operator, zero if not found + */ +variable *igetop(const char *name, int *retlen); + #endif // OPS_H_ -- cgit v1.2.3