static int lookupAutomakeDirectory (vString *const name) { int *i = hashTableGetItem (AutomakeDirectories, vStringValue (name)); if (i) return *i; else return CORK_NIL; }
extern int circularRefCheckerCheck (struct circularRefChecker *c, void *ptr) { union conv { int i; void *ptr; } v; v.ptr = hashTableGetItem(c->visitTable, ptr); if (v.ptr) return v.i; else { v.i = ++c->counter; hashTablePutItem (c->visitTable, ptr, v.ptr); return 0; } }