diff options
| author | Mitchell Blank Jr <[email protected]> | 2012-05-19 23:16:54 -0700 |
|---|---|---|
| committer | Mitchell Blank Jr <[email protected]> | 2012-05-19 23:16:54 -0700 |
| commit | 4ebd0361e4cc6edb0483f3280db50fa56621f0fc (patch) | |
| tree | 5c06dbb9150f0bcbbfcdd01ca026dbe96bde6279 /src/st.h | |
| parent | 3471e2b1340cb84504272da26051f149f350ee94 (diff) | |
| download | mruby-4ebd0361e4cc6edb0483f3280db50fa56621f0fc.tar.gz mruby-4ebd0361e4cc6edb0483f3280db50fa56621f0fc.zip | |
Helper functions for st_foreach() return "enum st_retval" not "int"
Just making this a bit more consistent throughout the code
Diffstat (limited to 'src/st.h')
| -rw-r--r-- | src/st.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,7 @@ int st_delete(st_table *, st_data_t *, st_data_t *); int st_delete_safe(st_table *, st_data_t *, st_data_t *, st_data_t); int st_insert(st_table *, st_data_t, st_data_t); int st_lookup(st_table *, st_data_t, st_data_t *); -int st_foreach(st_table *, int (*)(ANYARGS), st_data_t); +int st_foreach(st_table *, enum st_retval (*)(ANYARGS), st_data_t); void st_add_direct(st_table *, st_data_t, st_data_t); void st_free_table(st_table *); void st_cleanup_safe(st_table *, st_data_t); |
