diff options
author | 2013-01-19 13:16:21 -0800 | |
---|---|---|
committer | 2013-01-19 13:32:06 -0800 | |
commit | e07de09460a81fcf020ff989041ec2116992c02f (patch) | |
tree | 74686a9e53c7fbe168b2ced427d8fa7f4f284199 /env.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.h')
-rw-r--r-- | env.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -146,13 +146,13 @@ public: env_var_t env_get_string(const wcstring &key); /** - Returns 1 if the specified key exists. This can't be reliably done + Returns true if the specified key exists. This can't be reliably done using env_get, since env_get returns null for 0-element arrays \param key The name of the variable to remove \param mode the scope to search in. All scopes are searched if unset */ -int env_exist(const wchar_t *key, int mode); +bool env_exist(const wchar_t *key, int mode); /** Remove environemnt variable |