- Timestamp:
- Jun 19, 2011, 2:44:13 AM (13 years ago)
- Children:
- b0e6560
- Parents:
- 9d43dcc
- git-author:
- Jason Gross <jgross@mit.edu> (06/06/11 05:24:30)
- git-committer:
- Jason Gross <jgross@mit.edu> (06/19/11 02:44:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.h
r24a791f r7dfe886 255 255 * WARNING: this approach is hard to make 256 256 * thread-safe... */ 257 char *(*get_tostring_fn)(const struct _owl_variable *v, const void *val);257 char G_GNUC_WARN_UNUSED_RESULT *(*get_tostring_fn)(const struct _owl_variable *v, const void *val); 258 258 /* converts val to a string; 259 259 * caller must free the result */ … … 317 317 318 318 /* These don't take any context */ 319 char *(*cmd_args_fn)(int argc, const char *const *argv, const char *buff);319 char G_GNUC_WARN_UNUSED_RESULT *(*cmd_args_fn)(int argc, const char *const *argv, const char *buff); 320 320 /* takes argv and the full command as buff. 321 321 * caller must free return value if !NULL */ … … 324 324 325 325 /* The following also take the active context if it's valid */ 326 char *(*cmd_ctxargs_fn)(void *ctx, int argc, const char *const *argv, const char *buff);326 char G_GNUC_WARN_UNUSED_RESULT *(*cmd_ctxargs_fn)(void *ctx, int argc, const char *const *argv, const char *buff); 327 327 /* takes argv and the full command as buff. 328 328 * caller must free return value if !NULL */
Note: See TracChangeset
for help on using the changeset viewer.