- Timestamp:
- Jun 22, 2011, 3:40:50 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- b343c2c
- Parents:
- 84a071f
- git-author:
- Jason Gross <jgross@mit.edu> (06/06/11 05:24:30)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (06/22/11 15:40:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.h
raa69c1e rd427f08 251 251 * WARNING: this approach is hard to make 252 252 * thread-safe... */ 253 char *(*get_tostring_fn)(const struct _owl_variable *v, const void *val);253 char G_GNUC_WARN_UNUSED_RESULT *(*get_tostring_fn)(const struct _owl_variable *v, const void *val); 254 254 /* converts val to a string; 255 255 * caller must free the result */ … … 313 313 314 314 /* These don't take any context */ 315 char *(*cmd_args_fn)(int argc, const char *const *argv, const char *buff);315 char G_GNUC_WARN_UNUSED_RESULT *(*cmd_args_fn)(int argc, const char *const *argv, const char *buff); 316 316 /* takes argv and the full command as buff. 317 317 * caller must free return value if !NULL */ … … 320 320 321 321 /* The following also take the active context if it's valid */ 322 char *(*cmd_ctxargs_fn)(void *ctx, int argc, const char *const *argv, const char *buff);322 char G_GNUC_WARN_UNUSED_RESULT *(*cmd_ctxargs_fn)(void *ctx, int argc, const char *const *argv, const char *buff); 323 323 /* takes argv and the full command as buff. 324 324 * caller must free return value if !NULL */
Note: See TracChangeset
for help on using the changeset viewer.