You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

internal_hash_map.h 248B

12345678910111213
  1. #include "khash.h"
  2. #include <pthread.h>
  3. KHASH_MAP_INIT_INT64(long, long)
  4. typedef khash_t(long)* internal_hash_map_t;
  5. typedef struct {
  6. hash_map_t h;
  7. int refcount;
  8. pthread_mutex_t mutex;
  9. int autolock;
  10. long counter;
  11. } hash_map_lua_t;