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/transcode.c | |
| 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/transcode.c')
| -rw-r--r-- | src/transcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transcode.c b/src/transcode.c index d6d41b667..39dc42bdc 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -273,7 +273,7 @@ typedef struct { const char *base_enc; } search_path_bfs_t; -static int +static enum st_retval transcode_search_path_i(st_data_t key, st_data_t val, st_data_t arg) { const char *dname = (const char *)key; @@ -1797,7 +1797,7 @@ struct asciicompat_encoding_t { const char *ascii_incompat_name; }; -static int +static enum st_retval asciicompat_encoding_i(mrb_state *mrb, st_data_t key, st_data_t val, st_data_t arg) { struct asciicompat_encoding_t *data = (struct asciicompat_encoding_t *)arg; |
