#ifndef BHLIB_H #define BHLIB_H #include #include #include "platform.h" #define BH_INT_TO_PTR(x) \ ((void *)((bh_intptr_t)(x))) #define BH_UINT_TO_PTR(x) \ ((void *)((bh_uintptr_t)(x))) #define BH_PTR_TO_INT(x) \ ((bh_intptr_t)(x)) #define BH_PTR_TO_UINT(x) \ ((bh_uintptr_t)(x)) typedef int (*bh_equal_cb_t)(const void *, const void *); typedef size_t (*bh_hash_cb_t)(const void *); #endif /* BHLIB_H */