remove prototype declaration of function macro
This commit is contained in:
parent
5092affcfc
commit
221f089716
|
@ -54,19 +54,16 @@ typedef struct xhash {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* string map */
|
/* string map */
|
||||||
PIC_INLINE void xh_init_str(xhash *x, size_t width);
|
|
||||||
PIC_INLINE xh_entry *xh_get_str(xhash *x, const char *key);
|
PIC_INLINE xh_entry *xh_get_str(xhash *x, const char *key);
|
||||||
PIC_INLINE xh_entry *xh_put_str(xhash *x, const char *key, void *);
|
PIC_INLINE xh_entry *xh_put_str(xhash *x, const char *key, void *);
|
||||||
PIC_INLINE void xh_del_str(xhash *x, const char *key);
|
PIC_INLINE void xh_del_str(xhash *x, const char *key);
|
||||||
|
|
||||||
/* object map */
|
/* object map */
|
||||||
PIC_INLINE void xh_init_ptr(xhash *x, size_t width);
|
|
||||||
PIC_INLINE xh_entry *xh_get_ptr(xhash *x, const void *key);
|
PIC_INLINE xh_entry *xh_get_ptr(xhash *x, const void *key);
|
||||||
PIC_INLINE xh_entry *xh_put_ptr(xhash *x, const void *key, void *);
|
PIC_INLINE xh_entry *xh_put_ptr(xhash *x, const void *key, void *);
|
||||||
PIC_INLINE void xh_del_ptr(xhash *x, const void *key);
|
PIC_INLINE void xh_del_ptr(xhash *x, const void *key);
|
||||||
|
|
||||||
/* int map */
|
/* int map */
|
||||||
PIC_INLINE void xh_init_int(xhash *x, size_t width);
|
|
||||||
PIC_INLINE xh_entry *xh_get_int(xhash *x, int key);
|
PIC_INLINE xh_entry *xh_get_int(xhash *x, int key);
|
||||||
PIC_INLINE xh_entry *xh_put_int(xhash *x, int key, void *);
|
PIC_INLINE xh_entry *xh_put_int(xhash *x, int key, void *);
|
||||||
PIC_INLINE void xh_del_int(xhash *x, int key);
|
PIC_INLINE void xh_del_int(xhash *x, int key);
|
||||||
|
|
Loading…
Reference in New Issue