Avoid future confusions with how default values are set.

This commit is contained in:
Hisham Muhammad
2015-08-12 17:29:32 -03:00
parent e1e3ffad19
commit 0ebe688d24
5 changed files with 29 additions and 19 deletions

View File

@ -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);