#include "opendylan/run-time.h"

/* Generated by Open Dylan 2014.1 for x86_64-linux */

/* Typedefs for referenced classes */

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value mm_wrapper_implementation_class_; \
    dylan_value mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    dylan_value mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value symbol_name_;
} _KLsymbolGVKd;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(5);


/* Typedefs for defined classes */


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;

/* Defined object declarations */

static _KLsymbolGVKd KJlinux_;
static _KLbyte_stringGVKd_5 K1;
static _KLsymbolGVKd KJx86U64_;
static _KLbyte_stringGVKd_6 K3;

/* Indirection variables */

static dylan_value IKJlinux_ = &KJlinux_;
static dylan_value IKJx86U64_ = &KJx86U64_;

/* Variables */

dylan_value Darchitecture_little_endianQYoperating_systemVsystem = &KPtrueVKi;
dylan_value Dmachine_nameYoperating_systemVsystem = &KJx86U64_;
dylan_value Dos_nameYoperating_systemVsystem = &KJlinux_;

/* Objects */

static _KLsymbolGVKd KJlinux_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K1
};

static _KLbyte_stringGVKd_5 K1 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "linux"
};

static _KLsymbolGVKd KJx86U64_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K3
};

static _KLbyte_stringGVKd_6 K3 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "x86_64"
};

/* Code */


/* SYSTEM INIT CODE */

void _Init_system__X_x86U64_linux_operating_system_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJlinux_);
    if (T0 != &KJlinux_) {
      Dos_nameYoperating_systemVsystem = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJx86U64_);
    if (T0 != &KJx86U64_) {
      Dmachine_nameYoperating_systemVsystem = T0;
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_system__X_x86U64_linux_operating_system_for_user () {
  return;
}


/* eof */
