/*
** Automatically generated from `pqueue.m'
** by the Mercury compiler,
** version 14.01.1, configured for x86_64--netbsd.
** Do not edit.
**
** The autoconfigured grade settings governing
** the generation of this C file were
**
** TAG_BITS=3
** UNBOXED_FLOAT=yes
** PREGENERATED_DIST=no
** HIGHLEVEL_CODE=yes
**
** END_OF_C_GRADE_INFO
*/


/* :- module pqueue. */
/* :- interface. */

#ifndef MR_HEADER_GUARD_pqueue
#define MR_HEADER_GUARD_pqueue

#ifdef __cplusplus
extern "C" {
#endif

#include "mercury.h"


#ifndef PQUEUE_DECL_GUARD
#define PQUEUE_DECL_GUARD

#endif




#line 41 "pqueue.mih.tmp"
extern const MR_TypeCtorInfo_Struct mercury__pqueue__pqueue__type_ctor_info_pqueue_2;

#line 97 "pqueue.m"
void MR_CALL 
mercury__pqueue__LCMCpr_to_assoc_list_1_2_p_0(
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 97 "pqueue.m"
  MR_Word * mercury__pqueue__param_4);

#line 216 "pqueue.m"
void MR_CALL 
mercury__pqueue__LCMCpr_remove_2_1_3_p_0(
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_4,
#line 216 "pqueue.m"
  MR_Word * mercury__pqueue__param_5);

#line 129 "pqueue.m"
void MR_CALL 
mercury__pqueue____Compare____pqueue_2_0(
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 129 "pqueue.m"
  MR_Word * mercury__pqueue__param_3,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_4,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_5);

#line 129 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue____Unify____pqueue_2_0(
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 129 "pqueue.m"
  MR_Word mercury__pqueue__param_4);

#line 248 "pqueue.m"
void MR_CALL 
mercury__pqueue__do_merge_3_p_0(
#line 248 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 248 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 248 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 248 "pqueue.m"
  MR_Word mercury__pqueue__param_4,
#line 248 "pqueue.m"
  MR_Word * mercury__pqueue__param_5);

#line 216 "pqueue.m"
void MR_CALL 
mercury__pqueue__remove_2_3_p_0(
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 216 "pqueue.m"
  MR_Word mercury__pqueue__param_4,
#line 216 "pqueue.m"
  MR_Word * mercury__pqueue__param_5);

#line 115 "pqueue.m"
MR_Integer MR_CALL 
mercury__pqueue__length_1_f_0(
#line 115 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 115 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 115 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 109 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__from_assoc_list_1_f_0(
#line 109 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 109 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 109 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 104 "pqueue.m"
void MR_CALL 
mercury__pqueue__assoc_list_to_pqueue_2_p_0(
#line 104 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 104 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 104 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 104 "pqueue.m"
  MR_Word * mercury__pqueue__param_4);

#line 103 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__assoc_list_to_pqueue_1_f_0(
#line 103 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 103 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 103 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 97 "pqueue.m"
void MR_CALL 
mercury__pqueue__to_assoc_list_2_p_0(
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 97 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 97 "pqueue.m"
  MR_Word * mercury__pqueue__param_4);

#line 96 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__to_assoc_list_1_f_0(
#line 96 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 96 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 96 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 90 "pqueue.m"
void MR_CALL 
mercury__pqueue__merge_3_p_0(
#line 90 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 90 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 90 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 90 "pqueue.m"
  MR_Word mercury__pqueue__param_4,
#line 90 "pqueue.m"
  MR_Word * mercury__pqueue__param_5);

#line 89 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__merge_2_f_0(
#line 89 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 89 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 89 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 89 "pqueue.m"
  MR_Word mercury__pqueue__param_4);

#line 83 "pqueue.m"
void MR_CALL 
mercury__pqueue__det_remove_4_p_0(
#line 83 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 83 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 83 "pqueue.m"
  MR_Box * mercury__pqueue__param_3,
#line 83 "pqueue.m"
  MR_Box * mercury__pqueue__param_4,
#line 83 "pqueue.m"
  MR_Word mercury__pqueue__param_5,
#line 83 "pqueue.m"
  MR_Word * mercury__pqueue__param_6);

#line 78 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue__remove_4_p_0(
#line 78 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 78 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 78 "pqueue.m"
  MR_Box * mercury__pqueue__param_3,
#line 78 "pqueue.m"
  MR_Box * mercury__pqueue__param_4,
#line 78 "pqueue.m"
  MR_Word mercury__pqueue__param_5,
#line 78 "pqueue.m"
  MR_Word * mercury__pqueue__param_6);

#line 73 "pqueue.m"
MR_Box MR_CALL 
mercury__pqueue__det_peek_value_1_f_0(
#line 73 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 73 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 73 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 72 "pqueue.m"
MR_Box MR_CALL 
mercury__pqueue__det_peek_key_1_f_0(
#line 72 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 72 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 72 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 71 "pqueue.m"
void MR_CALL 
mercury__pqueue__det_peek_3_p_0(
#line 71 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 71 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 71 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 71 "pqueue.m"
  MR_Box * mercury__pqueue__param_4,
#line 71 "pqueue.m"
  MR_Box * mercury__pqueue__param_5);

#line 67 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue__peek_value_2_p_0(
#line 67 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 67 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 67 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 67 "pqueue.m"
  MR_Box * mercury__pqueue__param_4);

#line 62 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue__peek_key_2_p_0(
#line 62 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 62 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 62 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 62 "pqueue.m"
  MR_Box * mercury__pqueue__param_4);

#line 57 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue__peek_3_p_0(
#line 57 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 57 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 57 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 57 "pqueue.m"
  MR_Box * mercury__pqueue__param_4,
#line 57 "pqueue.m"
  MR_Box * mercury__pqueue__param_5);

#line 51 "pqueue.m"
void MR_CALL 
mercury__pqueue__insert_4_p_0(
#line 51 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 51 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 51 "pqueue.m"
  MR_Box mercury__pqueue__param_3,
#line 51 "pqueue.m"
  MR_Box mercury__pqueue__param_4,
#line 51 "pqueue.m"
  MR_Word mercury__pqueue__param_5,
#line 51 "pqueue.m"
  MR_Word * mercury__pqueue__param_6);

#line 50 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__insert_3_f_0(
#line 50 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 50 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 50 "pqueue.m"
  MR_Word mercury__pqueue__param_3,
#line 50 "pqueue.m"
  MR_Box mercury__pqueue__param_4,
#line 50 "pqueue.m"
  MR_Box mercury__pqueue__param_5);

#line 45 "pqueue.m"
MR_bool MR_CALL 
mercury__pqueue__is_empty_1_p_0(
#line 45 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 45 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 45 "pqueue.m"
  MR_Word mercury__pqueue__param_3);

#line 41 "pqueue.m"
void MR_CALL 
mercury__pqueue__init_1_p_0(
#line 41 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 41 "pqueue.m"
  MR_Word mercury__pqueue__param_2,
#line 41 "pqueue.m"
  MR_Word * mercury__pqueue__param_3);

#line 40 "pqueue.m"
MR_Word MR_CALL 
mercury__pqueue__init_0_f_0(
#line 40 "pqueue.m"
  MR_Word mercury__pqueue__param_1,
#line 40 "pqueue.m"
  MR_Word mercury__pqueue__param_2);

void mercury__pqueue__init(void);
void mercury__pqueue__init_type_tables(void);
void mercury__pqueue__init_debugger(void);

#ifdef __cplusplus
}
#endif

#endif /* MR_HEADER_GUARD_pqueue */

/* :- end_interface pqueue. */
