summaryrefslogtreecommitdiffstats
path: root/CheckItem.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-08-12 17:29:32 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-12 17:29:32 -0300
commit0ebe688d2462fe99faf3ec9ef4d36e33017a636c (patch)
treedbd58491ea4825bf624ef7c75ba1e475a6a46770 /CheckItem.h
parente1e3ffad19e3d1d14ba8f1e8e4628a7cd01c7af6 (diff)
Avoid future confusions with how default values are set.
Diffstat (limited to 'CheckItem.h')
-rw-r--r--CheckItem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/CheckItem.h b/CheckItem.h
index 86d4aa5b..5847d4b2 100644
--- a/CheckItem.h
+++ b/CheckItem.h
@@ -21,7 +21,9 @@ typedef struct CheckItem_ {
extern ObjectClass CheckItem_class;
-CheckItem* CheckItem_new(char* text, bool* ref, bool value);
+CheckItem* CheckItem_newByRef(char* text, bool* ref);
+
+CheckItem* CheckItem_newByVal(char* text, bool value);
void CheckItem_set(CheckItem* this, bool value);

© 2014-2024 Faster IT GmbH | imprint | privacy policy