File: proxy_xxhash.c

package info (click to toggle)
memcached 1.6.38-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,236 kB
  • sloc: ansic: 62,114; perl: 12,301; sh: 4,546; makefile: 476; python: 402; xml: 59
file content (12 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */

#include "proxy.h"

static struct proxy_hash_func mcplib_hash_xxhash = {
    XXH3_64bits_withSeed,
};

int mcplib_open_hash_xxhash(lua_State *L) {
    lua_pushlightuserdata(L, &mcplib_hash_xxhash);
    return 1;
}