Esempio n. 1
0
File: tclHash.c Progetto: smh377/tcl
static Tcl_HashEntry *
FindHashEntry(
    Tcl_HashTable *tablePtr,	/* Table in which to lookup entry. */
    const char *key)		/* Key to use to find matching entry. */
{
    return CreateHashEntry(tablePtr, key, NULL);
}
Esempio n. 2
0
static inline mccp_hashentry_t
s_create_entry(mccp_hashmap_t hm, void *key) {
  mccp_hashentry_t ret = NULL;

  if (hm != NULL) {
    int is_new;
    ret = CreateHashEntry(&(hm->m_hashtable), key, &is_new);
  }

  return ret;
}