Sha256: 88bbc8b6d86187129d0bba6187ad72ea463ebafbd278ba3902c69f306b4a4cec

Contents?: true

Size: 970 Bytes

Versions: 7

Compression:

Stored size: 970 Bytes

Contents

/* type.h
 * Copyright (c) 2011, Peter Ohler
 * All rights reserved.
 */

#ifndef OX_TYPE_H
#define OX_TYPE_H

typedef enum {
    NoCode         = 0,
    ArrayCode      = 'a',
    String64Code   = 'b', /* base64 encoded String */
    ClassCode      = 'c',
    Symbol64Code   = 'd', /* base64 encoded Symbol */
    DateCode       = 'D',
    BigDecimalCode = 'B',
    ExceptionCode  = 'e',
    FloatCode      = 'f',
    RegexpCode     = 'g',
    HashCode       = 'h',
    FixnumCode     = 'i',
    BignumCode     = 'j',
    KeyCode        = 'k', /* indicates the value is a hash key, kind of a hack */
    RationalCode   = 'l',
    SymbolCode     = 'm',
    FalseClassCode = 'n',
    ObjectCode     = 'o',
    RefCode        = 'p',
    RangeCode      = 'r',
    StringCode     = 's',
    TimeCode       = 't',
    StructCode     = 'u',
    ComplexCode    = 'v',
    RawCode        = 'x',
    TrueClassCode  = 'y',
    NilClassCode   = 'z',
} Type;

#endif /* OX_TYPE_H */

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ox-2.14.21 ext/ox/type.h
ox-2.14.20 ext/ox/type.h
ox-2.14.19 ext/ox/type.h
ox-2.14.18 ext/ox/type.h
ox-2.14.17 ext/ox/type.h
ox-2.14.16 ext/ox/type.h
ox-2.14.15 ext/ox/type.h