diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-19 13:16:21 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-19 13:32:06 -0800 |
commit | e07de09460a81fcf020ff989041ec2116992c02f (patch) | |
tree | 74686a9e53c7fbe168b2ced427d8fa7f4f284199 /env_universal.h | |
parent | 98a17f4046f8098d04727f9cb1891d15a27ba13f (diff) |
Big cleanup of env_set. Changed var_table_t to use direct var_entry_t instead of pointers. Changed some ints to bools.
Diffstat (limited to 'env_universal.h')
-rw-r--r-- | env_universal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/env_universal.h b/env_universal.h index 3e91bfdb..3637ba67 100644 --- a/env_universal.h +++ b/env_universal.h @@ -35,12 +35,12 @@ wchar_t *env_universal_get(const wcstring &name); Get the export flag of the variable with the specified name. Returns 0 if the variable doesn't exist. */ -int env_universal_get_export(const wcstring &name); +bool env_universal_get_export(const wcstring &name); /** Set the value of a universal variable */ -void env_universal_set(const wcstring &name, const wcstring &val, int exportv); +void env_universal_set(const wcstring &name, const wcstring &val, bool exportv); /** Erase a universal variable @@ -61,8 +61,8 @@ int env_universal_read_all(); \param show_unexported whether unexported variables should be shown */ void env_universal_get_names2(wcstring_list_t &list, - int show_exported, - int show_unexported); + bool show_exported, + bool show_unexported); /** Synchronize with fishd |