Edit

kc3-lang/kc3/libc3/set_item.h.in

Branch :

  • libc3/set_item.h.in
  • /* c3
     * Copyright 2022,2023 kmx.io <contact@kmx.io>
     *
     * Permission is hereby granted to use this software excepted
     * on Apple computers granted the above copyright notice and
     * this permission paragraph are included in all copies and
     * substantial portions of this software.
     *
     * THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
     * PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
     * AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
     * THIS SOFTWARE.
     */
    /* Gen from set_item.h.in NAME=_NAME$ TYPE=_TYPE$ */
    /**
     * @file set_item___NAME$.h
     * @brief Element of a set of _NAME$s.
     *
     * Data structure for set items containing _TYPE$.
     */
    #ifndef SET_ITEM___NAME$_H
    #define SET_ITEM___NAME$_H
    
    #include "types.h"
    
    s_set_item___NAME$ *
    set_item_new___NAME$ (const _TYPE$ *data, uw hash, s_set_item___NAME$ *next);
    
    void
    set_item_delete___NAME$ (s_set_item___NAME$ *x);
    
    void
    set_item_delete_all___NAME$ (s_set_item___NAME$ *x);
    
    #endif /* SET_ITEM___NAME$_H */