Sha256: 7ac257df049fc99205a8f9503c86b712c8d23bd1607559578baa2964c57a47bc

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

#include <ruby.h>
#include "libxxhash.h"

// Use this typedef to make the compiler happy when
// calling rb_define_method()
typedef VALUE (ruby_method)();

VALUE xxhash_xxh32(VALUE mod, VALUE input, VALUE seed);
void xxhash32_streaming_hash_free(XXH32_state_t* state);
VALUE xxhash32_streaming_hash_new(VALUE klass, VALUE seed);
VALUE xxhash32_streaming_hash_update(VALUE self, VALUE data);
VALUE xxhash32_streaming_hash_digest(VALUE self);
VALUE xxhash_xxh64(VALUE mod, VALUE input, VALUE seed);
void xxhash64_streaming_hash_free(XXH64_state_t* state);
VALUE xxhash64_streaming_hash_new(VALUE klass, VALUE seed);
VALUE xxhash64_streaming_hash_update(VALUE self, VALUE data);
VALUE xxhash64_streaming_hash_digest(VALUE self);
void Init_xxhash(void);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xxhash-0.3.0 ext/xxhash/xxhash.h