aboutsummaryrefslogtreecommitdiff
path: root/example/example.ini
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-19 01:42:49 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-08-19 01:42:49 +0300
commit6e20bab8f5fcfbe4fe816425704f9edd8ad88444 (patch)
tree5f11825e1afc4dbc75ed9778afcdd9e12cddcb05 /example/example.ini
parent5ed7b33fa8ce0c91af1a58bc17636d6bf0406d24 (diff)
downloadparcini-6e20bab8f5fcfbe4fe816425704f9edd8ad88444.tar.gz
parcini-6e20bab8f5fcfbe4fe816425704f9edd8ad88444.zip
Example and new helper funcion
* Added an example program an ini file to example/ * Added a new helper function `parcini_value_handle` to handle and copy parsed values, depending on the expected value type.
Diffstat (limited to 'example/example.ini')
-rw-r--r--example/example.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/example.ini b/example/example.ini
new file mode 100644
index 0000000..9dd5a0e
--- /dev/null
+++ b/example/example.ini
@@ -0,0 +1,8 @@
+# An example ini file
+[personal]
+name = "Ivan Ivanovich Ivanov"
+age = 69
+
+[contact]
+email = "ivan@mail.xyz"
+visible = yes