Changeset 7c3fb9b in mainline for uspace/lib/bithenge/include/bithenge/transform.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/transform.h
rfac0ac7 r7c3fb9b 64 64 /** Increment a scope's reference count. 65 65 * @memberof bithenge_scope_t 66 * @param self The scope to reference. */ 66 * @param self The scope to reference. 67 */ 67 68 static inline void bithenge_scope_inc_ref(bithenge_scope_t *self) 68 69 { … … 73 74 /** Operations that may be provided by a transform. All transforms must provide 74 75 * apply and/or prefix_apply. To be used in struct transforms and repeat 75 * transforms, transforms must provide prefix_length and/or prefix_apply. */ 76 * transforms, transforms must provide prefix_length and/or prefix_apply. 77 */ 76 78 typedef struct bithenge_transform_ops { 77 79 /** @copydoc bithenge_transform_t::bithenge_transform_apply */ … … 86 88 bithenge_node_t **out_node, aoff64_t *out_size); 87 89 /** Destroy the transform. 88 * @param self The transform. */ 90 * @param self The transform. 91 */ 89 92 void (*destroy)(bithenge_transform_t *self); 90 93 } bithenge_transform_ops_t; … … 93 96 * by the parser and param-wrapper. Takes ownership of nothing. 94 97 * @param self The transform. 95 * @return The number of parameters required. */ 98 * @return The number of parameters required. 99 */ 96 100 static inline int bithenge_transform_num_params(bithenge_transform_t *self) 97 101 { … … 101 105 102 106 /** Increment a transform's reference count. 103 * @param self The transform to reference. */ 107 * @param self The transform to reference. 108 */ 104 109 static inline void bithenge_transform_inc_ref(bithenge_transform_t *self) 105 110 { … … 109 114 110 115 /** Decrement a transform's reference count and free it if appropriate. 111 * @param self The transform to dereference, or NULL. */ 116 * @param self The transform to dereference, or NULL. 117 */ 112 118 static inline void bithenge_transform_dec_ref(bithenge_transform_t *self) 113 119 {
Note:
See TracChangeset
for help on using the changeset viewer.