Standardize formal argument names. Use 'gboolean' instead of 'int'

where appropriate.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2714 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-08-26 08:59:32 +00:00
parent 5d5c560b14
commit 27ff6326f1
2 changed files with 11 additions and 10 deletions

View File

@ -222,7 +222,7 @@ kvp_list_copy(const kvp_list * list) {
return retval;
}
int
gboolean
kvp_list_null_p(const kvp_list * list) {
return (!list || (list->list == NULL));
}

View File

@ -66,7 +66,7 @@ kvp_value * kvp_value_copy(const kvp_value * value);
kvp_list * kvp_list_new();
void kvp_list_delete(kvp_list * list);
kvp_list * kvp_list_copy(const kvp_list * list);
int kvp_list_null_p(const kvp_list * list);
gboolean kvp_list_null_p(const kvp_list * list);
kvp_value * kvp_list_car(kvp_list * list);
kvp_list * kvp_list_cdr(kvp_list * list);
@ -82,14 +82,15 @@ kvp_value * kvp_value_new_list(const kvp_list * value);
kvp_value * kvp_value_new_frame(const kvp_frame * value);
/* value accessors (NON-copying for frames/lists/guids/binary) */
kvp_value_t kvp_value_get_type(const kvp_value * val);
kvp_value_t kvp_value_get_type(const kvp_value * value);
gint64 kvp_value_get_int64(const kvp_value * val);
double kvp_value_get_float64(const kvp_value * val);
char * kvp_value_get_string(const kvp_value * val);
GUID * kvp_value_get_guid(const kvp_value * val);
void * kvp_value_get_binary(const kvp_value * val, int * size_return);
kvp_list * kvp_value_get_list(const kvp_value * val);
kvp_frame * kvp_value_get_frame(const kvp_value * val);
gint64 kvp_value_get_int64(const kvp_value * value);
double kvp_value_get_float64(const kvp_value * value);
char * kvp_value_get_string(const kvp_value * value);
GUID * kvp_value_get_guid(const kvp_value * value);
void * kvp_value_get_binary(const kvp_value * value,
int * size_return);
kvp_list * kvp_value_get_list(const kvp_value * value);
kvp_frame * kvp_value_get_frame(const kvp_value * value);
#endif