Silence compiler warnings.
This commit was SVN r90.
Этот коммит содержится в:
родитель
005a85fc20
Коммит
4bbf27828f
@ -45,6 +45,7 @@ lam_bool_t lam_arr_init_with(lam_array_t *arr, size_t length);
|
||||
|
||||
lam_bool_t lam_arr_append_item(lam_array_t *arr, lam_object_t *item);
|
||||
|
||||
lam_object_t *lam_arr_get_item(lam_array_t *arr, int index);
|
||||
inline lam_object_t *lam_arr_get_item(lam_array_t *arr, int index)
|
||||
{
|
||||
if ( (index >=0) && (index < arr->arr_length) )
|
||||
@ -53,6 +54,7 @@ inline lam_object_t *lam_arr_get_item(lam_array_t *arr, int index)
|
||||
}
|
||||
}
|
||||
|
||||
size_t lam_arr_get_size(lam_array_t *arr);
|
||||
inline size_t lam_arr_get_size(lam_array_t *arr)
|
||||
{
|
||||
return arr->arr_size;
|
||||
@ -70,6 +72,7 @@ void lam_arr_remove_item_matching(lam_array_t *arr, lam_object_t *item,
|
||||
|
||||
void lam_arr_set_item(lam_array_t *arr, lam_object_t *item, int index);
|
||||
|
||||
lam_object_t **lam_arr_get_c_array(lam_array_t *arr, size_t *size);
|
||||
inline lam_object_t **lam_arr_get_c_array(lam_array_t *arr, size_t *size)
|
||||
{
|
||||
*size = arr->arr_size;
|
||||
|
@ -54,6 +54,7 @@ int lam_fh_set_value_for_skey(lam_fast_hash_t *htbl, void *val, const char *ke
|
||||
|
||||
|
||||
/* returns the number of items in the table */
|
||||
uint32_t lam_fh_count(lam_fast_hash_t *htbl);
|
||||
inline uint32_t lam_fh_count(lam_fast_hash_t *htbl) {return htbl->fh_count;}
|
||||
|
||||
#endif /* LAM_HASH_TABLE_H */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user