summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:26:11 -0400
committerRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:26:11 -0400
commitd7b6472ba9bc8da3cc77b0c2db7e5e94876fe28b (patch)
tree19ab03174188894069583315dc293c56379fb598
parentdeb41cf1ab203b3f57028d329b8865193a9bd813 (diff)
Added API documentation for Constant(const char*, bool)
-rw-r--r--include/constant.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/constant.h b/include/constant.h
index 4a120f4..5353bf4 100644
--- a/include/constant.h
+++ b/include/constant.h
@@ -36,6 +36,13 @@ public:
* @param size Size of the value (in case of a string)
*/
Constant(const char *name, std::nullptr_t value = nullptr);
+
+ /**
+ * Constructor to create a constant for a boolean value
+ *
+ * @param name Constant's name
+ * @param value Constant's value
+ */
Constant(const char *name, bool value);
Constant(const char *name, int32_t value);
Constant(const char *name, int64_t value);