Sha256: 136500f9b31ec1021949e622448b0cc5d45515e9c7ece30b39b189187e713d0b

Contents?: true

Size: 194 Bytes

Versions: 8

Compression:

Stored size: 194 Bytes

Contents

#ifndef _DIGEST_COMPAT_RUBY_H_
#define _DIGEST_COMPAT_RUBY_H_

#include <ruby.h>

// HACK: define USHORT2NUM for Ruby < 2.6
#ifndef USHORT2NUM
#define USHORT2NUM(x) RB_INT2FIX(x)
#endif

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
digest-crc-0.7.0 ext/digest/compat/ruby.h
digest-crc-0.6.5 ext/digest/compat/ruby.h
digest-crc-0.6.4 ext/digest/compat/ruby.h
digest-crc-0.6.3 ext/digest/compat/ruby.h
digest-crc-0.6.2 ext/digest/compat/ruby.h
digest-crc-0.6.1 ext/digest/compat/ruby.h
digest-crc-0.6.0 ext/digest/compat/ruby.h
digest-crc-0.6.0.rc1 ext/digest/compat/ruby.h