diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-29 13:36:29 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-03-29 13:36:29 -0400 |
commit | 3b33fa0aeb5262335cd708b167caad8f41b8a5dd (patch) | |
tree | cb34ba93ecca6f3bbc936acdf92e6d347219a9cc /ops.h | |
parent | 7faeef296d8b0041ae340c3febf7eb0a78e60b0f (diff) |
documentation, error fixes, organization
Diffstat (limited to 'ops.h')
-rw-r--r-- | ops.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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_ |