Sha256: ed9b7311e7e9cd95a13631d3c5f6e030fb370306fe0bf2e48965235226d9fe17

Contents?: true

Size: 573 Bytes

Versions: 20

Compression:

Stored size: 573 Bytes

Contents

typedef u_int32_t dtype;
typedef u_int32_t rtype;
#define cT  cumo_cUInt32
#define cRT cT

#define m_num_to_data(x) ((dtype)NUM2UINT32(x))
#define m_data_to_num(x) UINT322NUM((u_int32_t)(x))
#define m_extract(x)     UINT322NUM((u_int32_t)*(dtype*)(x))
#define m_sprintf(s,x)   sprintf(s,"%"PRIu32,(u_int32_t)(x))

#ifndef UINT32_MIN
#define UINT32_MIN (0)
#endif

#ifndef UINT32_MAX
#define UINT32_MAX (4294967295u)
#endif

#define DATA_MIN UINT32_MIN
#define DATA_MAX UINT32_MAX

#define M_MIN  INT2FIX(0)
#define M_MAX  m_data_to_num(UINT32_MAX)

#include "uint_macro.h"

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
cumo-0.4.3 ext/cumo/include/cumo/types/uint32.h
cumo-0.4.2 ext/cumo/include/cumo/types/uint32.h
cumo-0.4.1 ext/cumo/include/cumo/types/uint32.h
cumo-0.4.0 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.5 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.4 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.3 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.2 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.1 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.0 ext/cumo/include/cumo/types/uint32.h
cumo-0.3.0.pre1 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.5 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.4 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.3 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.2 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.1 ext/cumo/include/cumo/types/uint32.h
cumo-0.2.0 ext/cumo/include/cumo/types/uint32.h
cumo-0.1.2 ext/cumo/include/cumo/types/uint32.h
cumo-0.1.1 ext/cumo/include/cumo/types/uint32.h
cumo-0.1.0 ext/cumo/include/cumo/types/uint32.h