summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:41:38 -0400
committerRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:41:38 -0400
commit5754efa4b1b80f91b17c0ea1130de020ffb1b449 (patch)
treeaf702693978f7fb64840ccbb50dd874f559091a0
parent4d21c60c95c8a21da0906d683cbd9098b1afb986 (diff)
Added API documentation for Constant(const char*, const char*, size_t)
-rw-r--r--include/constant.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/constant.h b/include/constant.h
index 1f911c8..a3a059f 100644
--- a/include/constant.h
+++ b/include/constant.h
@@ -77,6 +77,15 @@ public:
* @param value Constant's value
*/
Constant(const char *name, const char *value);
+
+ /**
+ * Constructor to create a constant for a string literal
+ * specifying the length of the string
+ *
+ * @param name Constant's name
+ * @param value Constant's value
+ * @param size Length of the string value
+ */
Constant(const char *name, const char *value, size_t size);
Constant(const char *name, const std::string &value);