[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gl_list.h doesn't compile with C89 compiler
From: |
Bruno Haible |
Subject: |
gl_list.h doesn't compile with C89 compiler |
Date: |
Tue, 24 Oct 2006 15:23:58 +0200 |
User-agent: |
KMail/1.9.1 |
Just fixed this.
2006-10-24 Bruno Haible <address@hidden>
* lib/gl_list.h: Use C comment style, not C++ comment style.
*** lib/gl_list.h 6 Oct 2006 12:06:07 -0000 1.3
--- lib/gl_list.h 24 Oct 2006 13:23:28 -0000
***************
*** 360,366 ****
struct gl_list_implementation
{
! // gl_list_t functions.
gl_list_t (*create_empty) (gl_list_implementation_t implementation,
gl_listelement_equals_fn equals_fn,
gl_listelement_hashcode_fn hashcode_fn,
--- 360,366 ----
struct gl_list_implementation
{
! /* gl_list_t functions. */
gl_list_t (*create_empty) (gl_list_implementation_t implementation,
gl_listelement_equals_fn equals_fn,
gl_listelement_hashcode_fn hashcode_fn,
***************
*** 392,398 ****
bool (*remove_at) (gl_list_t list, size_t position);
bool (*remove) (gl_list_t list, const void *elt);
void (*list_free) (gl_list_t list);
! // gl_list_iterator_t functions.
gl_list_iterator_t (*iterator) (gl_list_t list);
gl_list_iterator_t (*iterator_from_to) (gl_list_t list,
size_t start_index,
--- 392,398 ----
bool (*remove_at) (gl_list_t list, size_t position);
bool (*remove) (gl_list_t list, const void *elt);
void (*list_free) (gl_list_t list);
! /* gl_list_iterator_t functions. */
gl_list_iterator_t (*iterator) (gl_list_t list);
gl_list_iterator_t (*iterator_from_to) (gl_list_t list,
size_t start_index,
***************
*** 400,406 ****
bool (*iterator_next) (gl_list_iterator_t *iterator,
const void **eltp, gl_list_node_t *nodep);
void (*iterator_free) (gl_list_iterator_t *iterator);
! // Sorted gl_list_t functions.
gl_list_node_t (*sortedlist_search) (gl_list_t list,
gl_listelement_compar_fn compar,
const void *elt);
--- 400,406 ----
bool (*iterator_next) (gl_list_iterator_t *iterator,
const void **eltp, gl_list_node_t *nodep);
void (*iterator_free) (gl_list_iterator_t *iterator);
! /* Sorted gl_list_t functions. */
gl_list_node_t (*sortedlist_search) (gl_list_t list,
gl_listelement_compar_fn compar,
const void *elt);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gl_list.h doesn't compile with C89 compiler,
Bruno Haible <=