aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-19 13:16:21 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-19 13:32:06 -0800
commite07de09460a81fcf020ff989041ec2116992c02f (patch)
tree74686a9e53c7fbe168b2ced427d8fa7f4f284199 /env.h
parent98a17f4046f8098d04727f9cb1891d15a27ba13f (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/env.h b/env.h
index 543e9c7e..e8d2fa04 100644
--- a/env.h
+++ b/env.h
@@ -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