Sha256: c923a8377affc5a547e606c1f78625e7483f9bc08436c4e04ae10a5639844a3b

Contents?: true

Size: 929 Bytes

Versions: 23

Compression:

Stored size: 929 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

23 entries across 23 versions & 1 rubygems

Version Path
ox-2.14.14 ext/ox/type.h
ox-2.14.13 ext/ox/type.h
ox-2.14.12 ext/ox/type.h
ox-2.14.11 ext/ox/type.h
ox-2.14.10 ext/ox/type.h
ox-2.14.9 ext/ox/type.h
ox-2.14.8 ext/ox/type.h
ox-2.14.7 ext/ox/type.h
ox-2.14.6 ext/ox/type.h
ox-2.14.5 ext/ox/type.h
ox-2.14.4 ext/ox/type.h
ox-2.14.3 ext/ox/type.h
ox-2.14.2 ext/ox/type.h
ox-2.14.1 ext/ox/type.h
ox-2.14.0 ext/ox/type.h
ox-2.13.4 ext/ox/type.h
ox-2.13.3 ext/ox/type.h
ox-2.13.2 ext/ox/type.h
ox-2.13.1 ext/ox/type.h
ox-2.12.1 ext/ox/type.h