#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 xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
  dylan_value incremental_gf_module_;
  dylan_value incremental_gf_domain_info_;
  dylan_value incremental_gf_method_libraries_;
  dylan_value incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

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_;
} _KLfunction_classGVKi;

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;
  dylan_value namespace_name_;
  dylan_value library_major_version_;
  dylan_value library_minor_version_;
  dylan_value library_build_count_;
  dylan_value used_libraries_;
  dylan_value all_used_libraries_;
  dylan_value runtime_module_;
  dylan_value library_defined_generics_;
  dylan_value library_number_static_dispatches_;
  dylan_value library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
} _KLsealed_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value Pid_;
  dylan_value compiler_object_proxy_;
  dylan_value application_object_proxy_;
} _KLlibrary_objectGVenvironment_protocols;

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(3);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value head_;
  dylan_value tail_;
} _KLempty_listGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value union_type1_;
  dylan_value union_type2_;
} _KLunionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value singleton_object_;
} _KLsingletonGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
  dylan_value signature_values_;
} _KLsignatureAvaluesGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value project_proxy_;
  dylan_value project_application_;
  dylan_value project_compiler_database_;
  dylan_value project_next_numeric_id_;
  dylan_value project_object_table_;
  dylan_value project_query_database_;
  dylan_value project_server_path_;
  dylan_value environment_object_breakpoints_;
  dylan_value source_location_breakpoints_;
  dylan_value project_properties_;
  dylan_value project_profile_state_;
  dylan_value Plibrary_name_;
  dylan_value Puser_projectQ_;
  dylan_value Pdatabase_currentQ_;
  dylan_value Pdatabase_savedQ_;
  dylan_value Pwarnings_;
} _KLdfmc_project_objectGVdfmc_environment_projects;

typedef struct {
  dylan_value wrapper;
  dylan_value project_source_record_table_;
  dylan_value project_current_compilation_context_;
  dylan_value project_namespace_loaded_;
  dylan_value Pproject_owners_;
  dylan_value Pproject_top_levelQ_;
  dylan_value Pdatabase_in_memory_;
  dylan_value Pdatabase_in_memory_current_;
  dylan_value Pdatabase_saved_;
} _KLprojectGVprojects;

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

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
} _KLsignatureGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
} _KLfunctionGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value project_proxy_;
  dylan_value project_application_;
  dylan_value project_compiler_database_;
  dylan_value project_next_numeric_id_;
  dylan_value project_object_table_;
  dylan_value project_query_database_;
  dylan_value project_server_path_;
  dylan_value environment_object_breakpoints_;
  dylan_value source_location_breakpoints_;
  dylan_value project_properties_;
  dylan_value project_profile_state_;
} _KLproject_objectGVenvironment_protocols;


/* Typedefs for defined classes */


/* Referenced object declarations */

dylan_value KPadd_a_methodVKnI (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kdo_project_used_librariesVenvironment_protocols;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLlibraryGVKe Kdfmc_environment_projects_libraryYdylan_userVdfmc_environment_projects;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLincremental_generic_functionGVKe Kproject_libraryVenvironment_protocols;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLsealed_generic_functionGVKe Kproject_browsing_contextVuser_projects;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsimple_methodGVKe Kproject_library_definitionYdfmc_derived_informationVdfmc_browser_support;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
dylan_value Kmake_environment_objectVenvironment_protocolsMM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLclassGVKd KLlibrary_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLlibrary_objectGVenvironment_protocolsW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
dylan_value Kunion_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLdfmc_project_objectGVdfmc_environment_projects;
extern _KLmm_wrapperGVKi_0 KLdfmc_project_objectGVdfmc_environment_projectsW;
extern _KLclassGVKd KLprojectGVprojects;
extern _KLmm_wrapperGVKi_0 KLprojectGVprojectsW;
dylan_value Kensure_project_proxyVdfmc_environment_projectsMM0I (dylan_value);
dylan_value Kassertion_failureVKiI (dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kensure_project_proxyVdfmc_environment_projectsMM0;
extern _KLincremental_generic_functionGVKe Kall_used_projectsVprojects;
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;

/* Defined object declarations */

extern _KLsimple_methodGVKe Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0;
dylan_value Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0I (dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0;
dylan_value Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0I (dylan_value);
extern _KLsimple_methodGVKe KPmaybe_make_libraryVdfmc_environment_projects;
dylan_value KPmaybe_make_libraryVdfmc_environment_projectsI (dylan_value, dylan_value);
static _KLunionGVKe K8;
static _KLsingletonGVKd K9;
static _KLsignatureAvaluesGVKi K10;
static _KLsimple_object_vectorGVKd_2 K11;
static _KLsimple_object_vectorGVKd_1 K12;
static _KLsignatureAvaluesGVKi K13;
static _KLsimple_object_vectorGVKd_1 K14;
static _KLbyte_stringGVKd_54 K15;
static _KLsignatureGVKe K16;
static _KLsimple_object_vectorGVKd_3 K17;

/* Indirection variables */


/* Variables */

dylan_value Pmaybe_make_libraryVdfmc_environment_projects = &KPmaybe_make_libraryVdfmc_environment_projects;

/* Objects */

_KLsimple_methodGVKe Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K16,
  &Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0I
};

_KLsimple_methodGVKe Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K13,
  &Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0I
};

_KLsimple_methodGVKe KPmaybe_make_libraryVdfmc_environment_projects = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K10,
  &KPmaybe_make_libraryVdfmc_environment_projectsI
};

static _KLunionGVKe K8 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K9,
  &KLlibrary_objectGVenvironment_protocols
};

static _KLsingletonGVKd K9 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KPfalseVKi
};

static _KLsignatureAvaluesGVKi K10 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K11,
  &K12
};

static _KLsimple_object_vectorGVKd_2 K11 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLdfmc_project_objectGVdfmc_environment_projects,
  &KLprojectGVprojects
};

static _KLsimple_object_vectorGVKd_1 K12 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &K8
};

static _KLsignatureAvaluesGVKi K13 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K14,
  &K12
};

static _KLsimple_object_vectorGVKd_1 K14 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLdfmc_project_objectGVdfmc_environment_projects
};

static _KLbyte_stringGVKd_54 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 217,
  "Querying libraries for %= through different project %="
};

static _KLsignatureGVKe K16 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943053,
  &K17
};

static _KLsimple_object_vectorGVKd_3 K17 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLfunctionGVKd,
  &KLdfmc_project_objectGVdfmc_environment_projects,
  &KLproject_objectGVenvironment_protocols
};

/* Code */

dylan_value Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0I (dylan_value function_, dylan_value server_, dylan_value project_object_) {
  dylan_value project_;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12T, T12;
  dylan_value T13;
  dylan_value subproject_;
  dylan_value T15;
  dylan_value library_;
  dylan_value T17;
  dylan_value T18;
  dylan_value T19;
  dylan_value T20;
  dylan_value T21;
  dylan_value T22;
  _KLsimple_object_vectorGVKd_2 T23 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value T24;

  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:8
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:12
  T22 = primitive_idQ(server_,project_object_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:12
  if (T22 == &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:12
    T23.vector_element_[0] = project_object_;
    T23.vector_element_[1] = server_;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:12
    Kassertion_failureVKiI(&K15, &T23);
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:12
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:15
  project_ = CALL1(&Kensure_project_proxyVdfmc_environment_projectsMM0, project_object_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:16
  T24 = SLOT_VALUE_INITD(project_object_, 3);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:16
  if (T24 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    CONGRUENT_CALL_PROLOG(&Kall_used_projectsVprojects, 2);
    T5 = CONGRUENT_CALL2(project_, &KPempty_vectorVKi);
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T6 = CONGRUENT_CALL1(T5);
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T7 = T6;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T8 = MV_GET_ELT(1);
;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T9 = MV_GET_ELT(2);
;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T10 = MV_GET_ELT(3);
;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T11 = MV_GET_ELT(5);
;
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T12T = T7;
  L0: ;
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
      T12 = T12T;
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
      T13 = CALL3(T10, T5, T12, T8);
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
      if (T13 == &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
        T15 = CALL2(T11, T5, T12);
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
        primitive_type_check(T15, &KLprojectGVprojects);
        subproject_ = T15;
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:18
        library_ = CALL2(&KPmaybe_make_libraryVdfmc_environment_projects, project_object_, subproject_);
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:19
        if (library_ != &KPfalseVKi) {
          T21 = library_;
          // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:19
          CALL1(function_, T21);
        }
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:19
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
        T17 = CALL2(T9, T5, T12);
        // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
        T12T = T17;
        goto L0;
      }
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
      T18 = &KPfalseVKi;
      // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:17
    T20 = T18;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:16
    T19 = &KPfalseVKi;
    T20 = T19;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:16
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:8
  MV_SET_COUNT(0);
  return(T20);
}

dylan_value Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0I (dylan_value project_object_) {
  dylan_value project_;
  dylan_value T3_0;
  dylan_value T4_0;
  dylan_value T5_0;
  dylan_value T6;

  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:25
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:28
  project_ = Kensure_project_proxyVdfmc_environment_projectsMM0I(project_object_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:29
  T6 = SLOT_VALUE_INITD(project_object_, 3);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:29
  if (T6 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:30
    T3_0 = KPmaybe_make_libraryVdfmc_environment_projectsI(project_object_, project_);
    T5_0 = T3_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:29
    T4_0 = &KPfalseVKi;
    T5_0 = T4_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:29
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:25
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value KPmaybe_make_libraryVdfmc_environment_projectsI (dylan_value project_object_, dylan_value project_) {
  dylan_value context_;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6_0;
  dylan_value T7_0;
  dylan_value T8_0;
  dylan_value T9_0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:34
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:37
  CONGRUENT_CALL_PROLOG(&Kproject_browsing_contextVuser_projects, 1);
  context_ = CONGRUENT_CALL1(project_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
  if (context_ != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
    T4 = CALL1(&Kproject_library_definitionYdfmc_derived_informationVdfmc_browser_support, context_);
    T5 = T4;
  } else {
    T5 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
  if (T5 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:39
    T8_0 = Kmake_environment_objectVenvironment_protocolsMM2I(&KLlibrary_objectGVenvironment_protocols, &KPempty_vectorVKi, project_object_, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi, project_);
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:39
    T9_0 = T8_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T8_0);
      primitive_type_check(T9_0, &K8);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T7_0 = T9_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
    T6_0 = &KPfalseVKi;
    T7_0 = T6_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:38
  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:34
  MV_SET_COUNT(1);
  return(T7_0);
}


/* SYSTEM INIT CODE */

void _Init_dfmc_environment_projects__X_libraries_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  return;
}

/* USER INIT CODE */

void _Init_dfmc_environment_projects__X_libraries_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:8
  T0 = KPadd_a_methodVKnI(&Kdo_project_used_librariesVenvironment_protocols, &Kdo_project_used_librariesVenvironment_protocolsMdfmc_environment_projectsM0, &Kdfmc_environment_projects_libraryYdylan_userVdfmc_environment_projects, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I2;
}
I2:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/dfmc/projects/libraries.dylan:25
  T0 = KPadd_a_methodVKnI(&Kproject_libraryVenvironment_protocols, &Kproject_libraryVenvironment_protocolsMdfmc_environment_projectsM0, &Kdfmc_environment_projects_libraryYdylan_userVdfmc_environment_projects, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I5;
}
I5:

  return;
}


/* eof */
