summaryrefslogtreecommitdiff
path: root/include/call.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-04 08:36:43 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-04 08:36:43 +0200
commit2eb4e891d9b2d3c71a2b1d7367d85b22f4ecc9cf (patch)
tree76f75279a28306f2d1a84c0068f8e47df22d33f3 /include/call.h
parent6e2556ab445169cadb21d9ba16eb77d7350a79f7 (diff)
fixed typos in documentation, added ini_get() function to call.h
Diffstat (limited to 'include/call.h')
-rw-r--r--include/call.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/call.h b/include/call.h
index 0ef6353..3ad4776 100644
--- a/include/call.h
+++ b/include/call.h
@@ -51,6 +51,7 @@ inline Value echo(const std::string &input) { out << input; retu
inline Value empty(const Value &value) { return value.isNull() || !value.boolValue(); }
inline Value empty(const HashMember<std::string> &member) { return !member.exists() || empty(member.value()); }
inline Value empty(const HashMember<int> &member) { return !member.exists() || empty(member.value()); }
+inline Value ini_get(const Value &value) { return call("ini_get", value); }
//inline Value isset(const Value &value) { return call("isset", value); }
//inline Value isset(const HashMember<std::string> &member) { return member.exists() && isset(member.value()); }
//inline Value isset(const HashMember<int> &member) { return member.exists() && isset(member.value()); }