summaryrefslogtreecommitdiff
path: root/proxy_xxhash.c
blob: eaeeea4a83ca231365b86d47acabb464fe9fc41a (plain)
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;
}