/*
 * This is a machine-generated file. Please do not edit it by hand.
 * (As of sbcl-0.8.14, it came from WRITE-CONFIG-H in genesis.lisp.)
 *
 * This file contains low-level information about the
 * internals of a particular version and configuration
 * of SBCL. It is used by the C compiler to create a runtime
 * support environment, an executable program in the host
 * operating system's native format, which can then be used to
 * load and run 'core' files, which are basically programs
 * in SBCL's own format.
 */
#ifndef SBCL_GENESIS_SYMBOL
#define SBCL_GENESIS_SYMBOL
#ifndef LANGUAGE_ASSEMBLY

struct symbol {
    lispobj header;
    lispobj value;
    lispobj hash;
    lispobj info;
    lispobj name;
    lispobj package;
};
static inline struct symbol* SYMBOL(lispobj obj) {
  return (struct symbol*)(obj - 15);
}

#else /* LANGUAGE_ASSEMBLY */

/* These offsets are SLOT-OFFSET * N-WORD-BYTES - LOWTAG
 * so they work directly on tagged addresses. */

#define SYMBOL_VALUE_OFFSET -7
#define SYMBOL_HASH_OFFSET 1
#define SYMBOL_INFO_OFFSET 9
#define SYMBOL_NAME_OFFSET 17
#define SYMBOL_PACKAGE_OFFSET 25

#endif /* LANGUAGE_ASSEMBLY */

#endif
