pqueue.c
Go to the documentation of this file.
1 
12 #include <GKlib.h>
13 
14 
15 /*************************************************************************/
17 /*************************************************************************/
18 #define key_gt(a, b) ((a) > (b))
19 GK_MKPQUEUE(gk_ipq, gk_ipq_t, gk_ikv_t, int, gk_idx_t, gk_ikvmalloc, INT_MAX, key_gt)
20 GK_MKPQUEUE(gk_i32pq, gk_i32pq_t, gk_i32kv_t, int32_t, gk_idx_t, gk_i32kvmalloc, INT32_MAX, key_gt)
21 GK_MKPQUEUE(gk_i64pq, gk_i64pq_t, gk_i64kv_t, int64_t, gk_idx_t, gk_i64kvmalloc, INT64_MAX, key_gt)
22 GK_MKPQUEUE(gk_fpq, gk_fpq_t, gk_fkv_t, float, gk_idx_t, gk_fkvmalloc, FLT_MAX, key_gt)
23 GK_MKPQUEUE(gk_dpq, gk_dpq_t, gk_dkv_t, double, gk_idx_t, gk_dkvmalloc, DBL_MAX, key_gt)
24 GK_MKPQUEUE(gk_idxpq, gk_idxpq_t, gk_idxkv_t, gk_idx_t, gk_idx_t, gk_idxkvmalloc, GK_IDX_MAX, key_gt)
25 #undef key_gt
ssize_t gk_idx_t
Definition: gk_types.h:22
#define key_gt(a, b)
Definition: pqueue.c:18
#define GK_MKPQUEUE(FPRFX, PQT, KVT, KT, VT, KVMALLOC, KMAX, KEY_LT)
Definition: gk_mkpqueue.h:15
signed __int64 int64_t
Definition: ms_stdint.h:94
signed int int32_t
Definition: ms_stdint.h:82
#define INT64_MAX
Definition: ms_stdint.h:144
#define GK_IDX_MAX
Definition: gk_types.h:32
#define INT32_MAX
Definition: ms_stdint.h:142


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:28