Changeset bbc31e4
- Timestamp:
- Feb 23, 2013, 5:44:21 PM (11 years ago)
- Branches:
- master, release-1.10
- Children:
- 366badc
- Parents:
- e26abb6
- git-author:
- David Benjamin <davidben@mit.edu> (02/20/13 17:49:33)
- git-committer:
- David Benjamin <davidben@mit.edu> (02/23/13 17:44:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.h
r4584d1f rbbc31e4 242 242 GClosure *set_fromstring_fn; 243 243 /* sets the variable to a value 244 245 * unless documented, this 246 * should make a copy. 247 244 * of the appropriate type. 245 * unless documented, this 246 * should make a copy. 247 * returns 0 on success. */ 248 248 GClosure *get_tostring_fn; 249 249 /* converts val to a string; 250 250 * caller must free the result */ 251 251 252 252 /* These are only valid for OWL_VARIABLE_{INT,BOOL,STRING} */ … … 254 254 255 255 GCallback get_fn; 256 257 258 256 /* returns a reference to the current value. 257 * WARNING: this approach is hard to make 258 * thread-safe... */ 259 259 GCallback validate_fn; 260 260 /* returns 1 if newval is valid */ 261 261 GCallback set_fn; 262 262 /* sets the variable to a value 263 264 * unless documented, this 265 * should make a copy. 266 263 * of the appropriate type. 264 * unless documented, this 265 * should make a copy. 266 * returns 0 on success. */ 267 267 } owl_variable; 268 268
Note: See TracChangeset
for help on using the changeset viewer.