vec.h 470 B

123456789101112131415161718192021222324
  1. /** @file vec.h
  2. * @brief Public interface for a variable length vector.
  3. */
  4. #ifndef _faux_vec_h
  5. #define _faux_vec_h
  6. #include <stddef.h>
  7. #include <faux/faux.h>
  8. typedef struct faux_vec_s faux_vec_t;
  9. //typedef int (*faux_list_cmp_fn)(const void *new_item, const void *list_item);
  10. //typedef int (*faux_list_kcmp_fn)(const void *key, const void *list_item);
  11. //typedef void (*faux_list_free_fn)(void *list_item);
  12. C_DECL_BEGIN
  13. C_DECL_END
  14. #endif /* _faux_vec_h */