diff options
author | Joel Becker <jlbec@src.gnome.org> | 1998-12-16 14:41:18 +0000 |
---|---|---|
committer | Joel Becker <jlbec@src.gnome.org> | 1998-12-16 14:41:18 +0000 |
commit | 053793d72af1b193fecb93e8087aca307f2ef286 (patch) | |
tree | 3f9dd0356ab8b01501f229abfd64d722e75ca46f /gscanner.c | |
parent | c9cc6c858ed93d2d7a6ea3b3003d7d165e9d96ca (diff) |
changed func_data to user_data for g_scanner_scope_symbol_foreach()
Diffstat (limited to 'gscanner.c')
-rw-r--r-- | gscanner.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gscanner.c b/gscanner.c index c6fd0dd4e..257683093 100644 --- a/gscanner.c +++ b/gscanner.c @@ -522,31 +522,31 @@ g_scanner_foreach_internal (gpointer _key, register GScannerKey *key; register gpointer *d; register GHFunc func; - register gpointer func_data; + register gpointer user_data; register guint *scope_id; d = _user_data; func = (GHFunc) d[0]; - func_data = d[1]; + user_data = d[1]; scope_id = d[2]; key = _value; if (key->scope_id == *scope_id) - func (key->symbol, key->value, func_data); + func (key->symbol, key->value, user_data); } void g_scanner_scope_foreach_symbol (GScanner *scanner, guint scope_id, GHFunc func, - gpointer func_data) + gpointer user_data) { gpointer d[3]; g_return_if_fail (scanner != NULL); d[0] = (gpointer) func; - d[1] = func_data; + d[1] = user_data; d[2] = &scope_id; g_hash_table_foreach (scanner->symbol_table, g_scanner_foreach_internal, d); |