VSTa manual pages  - HASH_LOOKUP (3)

NAME

hash_lookup - look up a node based on its key

CONTENTS

Synopsis
Description
Return Value
See Also

SYNOPSIS

#include <hash.h>
void *hash_lookup(struct hash *h, long key);

DESCRIPTION

hash_lookup() is used to lookup the value of the h_data pointer of an entry with the key key in the hash h.

RETURN VALUE

Returns the value of the h_data pointer on success. If the struct h doesn’t exist or the key isn’t found 0 is returned.

SEE ALSO

hash_alloc(3), hash_dealloc(3), hash_insert(3), hash_delete(3), hash_foreach(3), hash_size(3)


HASH_LOOKUP (3)
Generated by manServer 1.06 from hash_lookup.3 using man macros.