Changeset 7c3fb9b in mainline for uspace/lib/bithenge/include/bithenge/expression.h
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/include/bithenge/expression.h
rfac0ac7 r7c3fb9b 55 55 bithenge_node_t **out); 56 56 /** Destroy the expression. 57 * @param self The expression. */ 57 * @param self The expression. 58 */ 58 59 void (*destroy)(bithenge_expression_t *self); 59 60 } bithenge_expression_ops_t; 60 61 61 62 /** Increment an expression's reference count. 62 * @param self The expression to reference. */ 63 * @param self The expression to reference. 64 */ 63 65 static inline void bithenge_expression_inc_ref(bithenge_expression_t *self) 64 66 { … … 68 70 69 71 /** Decrement an expression's reference count and free it if appropriate. 70 * @param self The expression to dereference, or NULL. */ 72 * @param self The expression to dereference, or NULL. 73 */ 71 74 static inline void bithenge_expression_dec_ref(bithenge_expression_t *self) 72 75 { … … 84 87 * @param scope The scope. 85 88 * @param[out] out Where the output tree will be stored. 86 * @return EOK on success or an error code from errno.h. */ 89 * @return EOK on success or an error code from errno.h. 90 */ 87 91 static inline errno_t bithenge_expression_evaluate(bithenge_expression_t *self, 88 92 bithenge_scope_t *scope, bithenge_node_t **out)
Note:
See TracChangeset
for help on using the changeset viewer.