Sha256: f0fa2a22eb3028534bf2ad398c2ffcf52b3e7a78dee20caf2707987b32c207d8

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

typedef u_int16_t dtype;
typedef u_int16_t rtype;
#define cT  numo_cUInt16
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2UINT(x))
#define m_data_to_num(x) UINT2NUM((unsigned int)(x))
#define m_extract(x)     UINT2NUM((unsigned int)*(dtype*)(x))
#define m_sprintf(s,x)   sprintf(s,"%u",(unsigned int)(x))

#include "uint_macro.h"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
numo-narray-0.9.0.6 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.5 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.4 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.3-x86-mingw32 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.3-x64-mingw32 ext/numo/narray/numo/types/uint16.h
numo-narray-0.9.0.3 ext/numo/narray/numo/types/uint16.h