/* Generated by G-Wrap: an experimental C->Guile wrapper engine */

#define _GNU_SOURCE
#include <guile/gh.h>
#include <libguile.h>
#include <string.h>
#include <g-wrap-compatibility.h>

#include "gw-gnome-utils.h"
#include <global-options.h>
#include <option-util.h>
#include <global-options.h>
#include <option-util.h>
#include <gnc-euro.h>
#include <gnc-exp-parser.h>
#include <gnc-ui-util.h>
#include <gnc-gettext-util.h>
#include <gnc-helpers.h>
#include <gnc-component-manager.h>
#include <g-wrap-wct.h>
#include <glib.h>
#include <guid.h>
#include <Query.h>
#include <Backend.h>
#include <Group.h>
#include <gnc-book.h>
#include <gnc-session.h>
#include <gnc-session-scm.h>
#include <gnc-engine-util.h>
#include <gnc-event.h>
#include <gnc-lot.h>
#include <date.h>
#include <engine-helpers.h>
#include <gnc-engine.h>
#include <gnc-commodity.h>
#include <gnc-numeric.h>
#include <g-wrap-wct.h>
#include <glib.h>
#include <g-wrap-glib.h>
#include <g-wrap-wct.h>
#include <limits.h>
#include <dialog-options.h>
#include <dialog-utils.h>
#include <druid-utils.h>
#include <gtk/gtk.h>
#include <gnc-amount-edit.h>
#include <gnc-date-edit.h>
#include <gnc-gnome-utils.h>
#include <gnc-gui-query.h>
#include <gnc-html.h>
#include <gnc-mdi-utils.h>
#include <gnc-menu-extensions.h>
#include <gnc-ui.h>
#include <print-session.h>
#include <g-wrap-wct.h>
static SCM gw__tmp557_wct_info_for__gnc_OptionDB__ = SCM_BOOL_F;
static SCM gw__tmp0_range_minval_gw_int_;
static SCM gw__tmp1_range_maxval_gw_int_;
static SCM gw__tmp778_wct_info_for__gnc_GtkCList_ = SCM_BOOL_F;
static SCM gw__tmp769_wct_info_for__gnc_GnomeDruid_ = SCM_BOOL_F;
static SCM gw__tmp760_wct_info_for__gnc_GNCDateEdit_ = SCM_BOOL_F;
static SCM gw__tmp743_wct_info_for__gnc_GNCAmountEdit_ = SCM_BOOL_F;
static SCM gw__tmp706_wct_info_for__gnc_PaperDialog__ = SCM_BOOL_F;
static SCM gw__tmp705_wct_info_for__gnc_PrintDialog__ = SCM_BOOL_F;
static SCM gw__tmp704_wct_info_for__gnc_PrintSession__ = SCM_BOOL_F;
static SCM gw__tmp672_wct_info_for__gnc_url_type_ = SCM_BOOL_F;
static SCM gw__tmp671_wct_info_for__gnc_OptionWin__ = SCM_BOOL_F;
static SCM gw__tmp670_wct_info_for__gnc_mdi_info__ = SCM_BOOL_F;
static SCM gw__tmp669_wct_info_for__gnc_UIWidget_ = SCM_BOOL_F;
static SCM gw__tmp668_wct_info_for__gtk_Widget__ = SCM_BOOL_F;
enum GW__ErrorStatus
{
  GW__ERR_NONE,
  GW__ERR_MISC,
  GW__ERR_MEMORY,
  GW__ERR_RANGE,
  GW__ERR_TYPE,
  GW__ERR_ARGC,
  GW__ERR_ARG_RANGE,
  GW__ERR_ARG_TYPE
};
 
static void
gw__handle_wrapper_error(enum GW__ErrorStatus status,
                         const char *func_name,
                         unsigned int arg_pos,
                         const char *misc_msg,
                         SCM scm_data) __attribute__ ((noreturn));

static void
gw__handle_wrapper_error(enum GW__ErrorStatus status,
                         const char *func_name,
                         unsigned int arg_pos,
                         const char *misc_msg,
                         SCM scm_data)
{
  static SCM out_of_range_key = SCM_BOOL_F;
  static SCM wrong_type_key = SCM_BOOL_F;

  if(SCM_FALSEP(out_of_range_key))
    out_of_range_key = scm_permanent_object(scm_c_make_keyword("out-of-range"));
  if(SCM_FALSEP(wrong_type_key))
    wrong_type_key = scm_permanent_object(scm_c_make_keyword("wrong-type"));

  switch(status) {
  case GW__ERR_NONE:
    scm_misc_error(func_name,
                   "asked to handle error when there wasn't one",
                   SCM_EOL);
    break;
  case GW__ERR_MISC:
    /* scm_data is a list of format args for misc_msg */
    scm_misc_error(func_name, misc_msg, scm_data); break;
  case GW__ERR_MEMORY:
    scm_memory_error(func_name); break;
  case GW__ERR_RANGE:
    scm_error (out_of_range_key,
	       func_name,
	       "Out of range: ~S",
               scm_cons (scm_data, SCM_EOL),
	       SCM_BOOL_F);
    break;
  case GW__ERR_TYPE:
    scm_error(wrong_type_key,
              func_name,
              "Wrong type: ",
              scm_cons (scm_data, SCM_EOL),
              SCM_BOOL_F);
    break;
  case GW__ERR_ARGC:
    scm_wrong_num_args(scm_makfrom0str(func_name)); break;
  case GW__ERR_ARG_RANGE:
    /* scm_data is the bad arg */
    scm_out_of_range(func_name, scm_data); break;
  case GW__ERR_ARG_TYPE:
    /* scm_data is the bad arg */
    scm_wrong_type_arg(func_name, arg_pos, scm_data); break;
  default:
    scm_misc_error(func_name,
                   "asked to handle nonexistent gw:error type: ~S",
                   scm_cons(scm_long2num(status), SCM_EOL));    
    break;
  };
  exit(1);
}
static char * gw__tmp665_gnc_gnome_init_namestr = "gnc:gnome-init";
static SCM gw__tmp664_gnc_gnome_init_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2, SCM gw__scm_arg3 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
SCM gw__c_result;

const char * gw__c_arg0;
const char * gw__c_arg1;
const char * gw__c_arg2;
SCM gw__c_arg3;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
gw__c_arg2 = NULL;

if(SCM_FALSEP(gw__scm_arg2))
  gw__c_arg2 = NULL;
else if(SCM_STRINGP(gw__scm_arg2))
  gw__c_arg2 = gh_scm2newstr(gw__scm_arg2, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
/* ARG 3 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else {gw__c_arg3 = gw__scm_arg3;
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_3;
SCM_DEFER_INTS;
gw__c_result = gnc_gnome_init (gw__c_arg0, gw__c_arg1, gw__c_arg2, gw__c_arg3);
SCM_ALLOW_INTS;
{
gw__scm_result = gw__c_result;
}
}
  gw__post_call_arg_3:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_2:
{
if(gw__c_arg2) free((void *) gw__c_arg2);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp665_gnc_gnome_init_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp667_gnc_gnome_shutdown_namestr = "gnc:gnome-shutdown";
static SCM gw__tmp666_gnc_gnome_shutdown_wrapper  () {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;
SCM_DEFER_INTS;
gnc_gnome_shutdown ();
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp667_gnc_gnome_shutdown_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp689_gnc_options_dialog_new_namestr = "gnc:option-dialog-new";
static SCM gw__tmp688_gnc_options_dialog_new_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
GNCOptionWin* gw__c_result;

int gw__c_arg0;
char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {gw__c_arg0= SCM_NFALSEP(gw__scm_arg0);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gw__c_result = gnc_options_dialog_new (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp671_wct_info_for__gnc_OptionWin__);
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp689_gnc_options_dialog_new_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp691_gnc_options_dialog_destroy_namestr = "gnc:option-dialog-destroy";
static SCM gw__tmp690_gnc_options_dialog_destroy_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCOptionWin* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp671_wct_info_for__gnc_OptionWin__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_options_dialog_destroy (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp691_gnc_options_dialog_destroy_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp693_gnc_build_options_dialog_contents_namestr = "gnc:option-dialog-build-contents";
static SCM gw__tmp692_gnc_build_options_dialog_contents_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCOptionWin* gw__c_arg0;
GNCOptionDB* gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp671_wct_info_for__gnc_OptionWin__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if(!(SCM_FALSEP(gw__scm_arg1) || gw_wcp_is_of_type_p(gw__tmp557_wct_info_for__gnc_OptionDB__, gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {if(SCM_FALSEP(gw__scm_arg1)) gw__c_arg1 = NULL;
else gw__c_arg1 = gw_wcp_get_ptr(gw__scm_arg1);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_build_options_dialog_contents (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp693_gnc_build_options_dialog_contents_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp695_gnc_options_dialog_set_scm_callbacks_namestr = "gnc:option-dialog-set-callbacks";
static SCM gw__tmp694_gnc_options_dialog_set_scm_callbacks_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCOptionWin* gw__c_arg0;
SCM gw__c_arg1;
SCM gw__c_arg2;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp671_wct_info_for__gnc_OptionWin__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1 = gw__scm_arg1;
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else {gw__c_arg2 = gw__scm_arg2;
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;
SCM_DEFER_INTS;
gnc_options_dialog_set_scm_callbacks (gw__c_arg0, gw__c_arg1, gw__c_arg2);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_2:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp695_gnc_options_dialog_set_scm_callbacks_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp697_gnc_mdi_has_apps_namestr = "gnc:mdi-has-apps?";
static SCM gw__tmp696_gnc_mdi_has_apps_wrapper  () {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
int gw__c_result;

if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;
SCM_DEFER_INTS;
gw__c_result = gnc_mdi_has_apps ();
SCM_ALLOW_INTS;
{
gw__scm_result= (gw__c_result) ? SCM_BOOL_T : SCM_BOOL_F;
}
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp697_gnc_mdi_has_apps_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp699_gnc_mdi_get_current_namestr = "gnc:mdi-get-current";
static SCM gw__tmp698_gnc_mdi_get_current_wrapper  () {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
GNCMDIInfo* gw__c_result;

if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;
SCM_DEFER_INTS;
gw__c_result = gnc_mdi_get_current ();
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp670_wct_info_for__gnc_mdi_info__);
}
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp699_gnc_mdi_get_current_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp701_gnc_mdi_save_namestr = "gnc:mdi-save";
static SCM gw__tmp700_gnc_mdi_save_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCMDIInfo* gw__c_arg0;
char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp670_wct_info_for__gnc_mdi_info__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_mdi_save (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp701_gnc_mdi_save_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp703_gnc_mdi_restore_namestr = "gnc:mdi-restore";
static SCM gw__tmp702_gnc_mdi_restore_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCMDIInfo* gw__c_arg0;
const char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp670_wct_info_for__gnc_mdi_info__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_mdi_restore (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp703_gnc_mdi_restore_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp708_gnc_print_session_create_namestr = "gnc:print-session-create";
static SCM gw__tmp707_gnc_print_session_create_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
PrintSession* gw__c_result;

int gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {gw__c_arg0= SCM_NFALSEP(gw__scm_arg0);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_print_session_create (gw__c_arg0);
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp704_wct_info_for__gnc_PrintSession__);
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp708_gnc_print_session_create_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp710_gnc_print_session_destroy_namestr = "gnc:print-session-destroy";
static SCM gw__tmp709_gnc_print_session_destroy_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_print_session_destroy (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp710_gnc_print_session_destroy_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp712_gnc_print_session_moveto_namestr = "gnc:print-session-moveto";
static SCM gw__tmp711_gnc_print_session_moveto_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
double gw__c_arg1;
double gw__c_arg2;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg1))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2double(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg2))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else {gw__c_arg2= gh_scm2double(gw__scm_arg2);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;
SCM_DEFER_INTS;
gnc_print_session_moveto (gw__c_arg0, gw__c_arg1, gw__c_arg2);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_2:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp712_gnc_print_session_moveto_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp714_gnc_print_session_text_namestr = "gnc:print-session-text";
static SCM gw__tmp713_gnc_print_session_text_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
const char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_print_session_text (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp714_gnc_print_session_text_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp716_gnc_print_session_rotate_namestr = "gnc:print-session-rotate";
static SCM gw__tmp715_gnc_print_session_rotate_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
double gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg1))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2double(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_print_session_rotate (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp716_gnc_print_session_rotate_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp718_gnc_print_session_translate_namestr = "gnc:print-session-translate";
static SCM gw__tmp717_gnc_print_session_translate_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
double gw__c_arg1;
double gw__c_arg2;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg1))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2double(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg2))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else {gw__c_arg2= gh_scm2double(gw__scm_arg2);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;
SCM_DEFER_INTS;
gnc_print_session_translate (gw__c_arg0, gw__c_arg1, gw__c_arg2);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_2:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp718_gnc_print_session_translate_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp720_gnc_print_session_gsave_namestr = "gnc:print-session-gsave";
static SCM gw__tmp719_gnc_print_session_gsave_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_print_session_gsave (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp720_gnc_print_session_gsave_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp722_gnc_print_session_grestore_namestr = "gnc:print-session-grestore";
static SCM gw__tmp721_gnc_print_session_grestore_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_print_session_grestore (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp722_gnc_print_session_grestore_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp724_gnc_print_session_done_namestr = "gnc:print-session-done";
static SCM gw__tmp723_gnc_print_session_done_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
int gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= SCM_NFALSEP(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_print_session_done (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp724_gnc_print_session_done_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp726_gnc_print_session_print_namestr = "gnc:print-session-print";
static SCM gw__tmp725_gnc_print_session_print_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

PrintSession* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp704_wct_info_for__gnc_PrintSession__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_print_session_print (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp726_gnc_print_session_print_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp728_gnc_error_dialog_namestr = "gnc:error-dialog";
static SCM gw__tmp727_gnc_error_dialog_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

const char * gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_error_dialog (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp728_gnc_error_dialog_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp730_gnc_verify_dialog_namestr = "gnc:verify-dialog";
static SCM gw__tmp729_gnc_verify_dialog_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
int gw__c_result;

int gw__c_arg0;
const char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {gw__c_arg0= SCM_NFALSEP(gw__scm_arg0);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gw__c_result = gnc_verify_dialog (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result= (gw__c_result) ? SCM_BOOL_T : SCM_BOOL_F;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp730_gnc_verify_dialog_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp732_gnc_info_dialog_namestr = "gnc:info-dialog";
static SCM gw__tmp731_gnc_info_dialog_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

const char * gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_info_dialog (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp732_gnc_info_dialog_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp734_gnc_warning_dialog_namestr = "gnc:warning-dialog";
static SCM gw__tmp733_gnc_warning_dialog_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

const char * gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_warning_dialog (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp734_gnc_warning_dialog_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp736_gnc_add_scm_extension_namestr = "gnc:add-extension";
static SCM gw__tmp735_gnc_add_scm_extension_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

SCM gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {gw__c_arg0 = gw__scm_arg0;
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_add_scm_extension (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp736_gnc_add_scm_extension_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp738_gnc_choose_radio_option_dialog_parented_namestr = "gnc:choose-radio-option-dialog-parented";
static SCM gw__tmp737_gnc_choose_radio_option_dialog_parented_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2, SCM gw__scm_arg3, SCM gw__scm_arg4 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
int gw__c_result;

gncUIWidget gw__c_arg0;
const char * gw__c_arg1;
const char * gw__c_arg2;
int gw__c_arg3;
GList* gw__c_arg4;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp669_wct_info_for__gnc_UIWidget_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
gw__c_arg2 = NULL;

if(SCM_FALSEP(gw__scm_arg2))
  gw__c_arg2 = NULL;
else if(SCM_STRINGP(gw__scm_arg2))
  gw__c_arg2 = gh_scm2newstr(gw__scm_arg2, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
/* ARG 3 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;

{
if(SCM_FALSEP(scm_integer_p(gw__scm_arg3))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else if(SCM_FALSEP(scm_geq_p(gw__scm_arg3, gw__tmp0_range_minval_gw_int_))        || SCM_FALSEP(scm_leq_p(gw__scm_arg3, gw__tmp1_range_maxval_gw_int_))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else {gw__c_arg3= gh_scm2long(gw__scm_arg3);
}

if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
/* ARG 4 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_3;

{
{
  SCM gw__tmp789_scm_rest = gw__scm_arg4;
  gw__c_arg4= NULL;
  while(!SCM_NULLP(gw__tmp789_scm_rest)
        && (! (gw__error_status != GW__ERR_NONE)))
  {
    char * gw__tmp790_c_item;
    SCM gw__tmp791_scm_item = SCM_CAR(gw__tmp789_scm_rest);

gw__tmp790_c_item = NULL;

if(SCM_FALSEP(gw__tmp791_scm_item))
  gw__tmp790_c_item = NULL;
else if(SCM_STRINGP(gw__tmp791_scm_item))
  gw__tmp790_c_item = gh_scm2newstr(gw__tmp791_scm_item, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__tmp791_scm_item;
   goto gw__post_call_arg_4;
}

    if(! (gw__error_status != GW__ERR_NONE) )
    {
       gw__c_arg4 = g_list_prepend (gw__c_arg4, (gpointer)gw__tmp790_c_item);
    }
    gw__tmp789_scm_rest = SCM_CDR (gw__tmp789_scm_rest);
  }
  if(!(gw__error_status != GW__ERR_NONE))
  {
    gw__c_arg4 = g_list_reverse(gw__c_arg4);
  }
  else
  {
    GList * gw__tmp792_cursor = gw__c_arg4;
    while(gw__tmp792_cursor)
    {
      char * gw__tmp790_c_item;
      gw__tmp790_c_item = ( char *) gw__tmp792_cursor->data;
if(gw__tmp790_c_item) free((void *) gw__tmp790_c_item);
gw__tmp792_cursor = gw__tmp792_cursor->next;
    }
    g_list_free(gw__c_arg4);
    gw__c_arg4 = NULL;
  }
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg4;
   goto gw__post_call_arg_4;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg4;
   goto gw__post_call_arg_4;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_4;
SCM_DEFER_INTS;
gw__c_result = gnc_choose_radio_option_dialog_parented (gw__c_arg0, gw__c_arg1, gw__c_arg2, gw__c_arg3, gw__c_arg4);
SCM_ALLOW_INTS;
{
gw__scm_result= gh_long2scm(gw__c_result);
}
}
  gw__post_call_arg_4:
{
{
  GList * gw__tmp794_cursor = gw__c_arg4;
  while(gw__tmp794_cursor)
  {
    char * gw__tmp793_c_item;
    gw__tmp793_c_item = ( char *) gw__tmp794_cursor->data;
gw__tmp794_cursor = gw__tmp794_cursor->next;
  }
}
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_3:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_2:
{
if(gw__c_arg2) free((void *) gw__c_arg2);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp738_gnc_choose_radio_option_dialog_parented_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp740_gnc_html_encode_string_namestr = "gnc:html-encode-string";
static SCM gw__tmp739_gnc_html_encode_string_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gchar * gw__c_result;

const char * gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_html_encode_string (gw__c_arg0);
SCM_ALLOW_INTS;
{
  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else
gw__scm_result = gh_str02scm((char *) gw__c_result);
if(gw__c_result) g_free((void *) gw__c_result);
}
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp740_gnc_html_encode_string_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp742_gnc_build_url_namestr = "gnc:html-build-url";
static SCM gw__tmp741_gnc_build_url_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gchar * gw__c_result;

URLType gw__c_arg0;
const char * gw__c_arg1;
const char * gw__c_arg2;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp672_wct_info_for__gnc_url_type_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
gw__c_arg2 = NULL;

if(SCM_FALSEP(gw__scm_arg2))
  gw__c_arg2 = NULL;
else if(SCM_STRINGP(gw__scm_arg2))
  gw__c_arg2 = gh_scm2newstr(gw__scm_arg2, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;
SCM_DEFER_INTS;
gw__c_result = gnc_build_url (gw__c_arg0, gw__c_arg1, gw__c_arg2);
SCM_ALLOW_INTS;
{
  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else
gw__scm_result = gh_str02scm((char *) gw__c_result);
if(gw__c_result) g_free((void *) gw__c_result);
}
}
  gw__post_call_arg_2:
{
if(gw__c_arg2) free((void *) gw__c_arg2);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp742_gnc_build_url_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp745_gnc_amount_edit_new_namestr = "gnc:amount-edit-new";
static SCM gw__tmp744_gnc_amount_edit_new_wrapper  () {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gncUIWidget gw__c_result;

if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;
SCM_DEFER_INTS;
gw__c_result = gnc_amount_edit_new ();
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp669_wct_info_for__gnc_UIWidget_);
}
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp745_gnc_amount_edit_new_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp747_gnc_amount_edit_gtk_entry_namestr = "gnc:amount-edit-gtk-entry";
static SCM gw__tmp746_gnc_amount_edit_gtk_entry_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gncUIWidget gw__c_result;

GNCAmountEdit* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_amount_edit_gtk_entry (gw__c_arg0);
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp669_wct_info_for__gnc_UIWidget_);
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp747_gnc_amount_edit_gtk_entry_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp749_gnc_amount_edit_set_amount_namestr = "gnc:amount-edit-set-amount";
static SCM gw__tmp748_gnc_amount_edit_set_amount_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCAmountEdit* gw__c_arg0;
gnc_numeric gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(gnc_numeric_p(gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1 = gnc_scm_to_numeric(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_amount_edit_set_amount (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp749_gnc_amount_edit_set_amount_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp751_gnc_amount_edit_get_amount_namestr = "gnc:amount-edit-get-amount";
static SCM gw__tmp750_gnc_amount_edit_get_amount_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gnc_numeric gw__c_result;

GNCAmountEdit* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_amount_edit_get_amount (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = gnc_numeric_to_scm(gw__c_result);
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp751_gnc_amount_edit_get_amount_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp753_gnc_amount_edit_evaluate_namestr = "gnc:amount-edit-evaluate";
static SCM gw__tmp752_gnc_amount_edit_evaluate_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
int gw__c_result;

GNCAmountEdit* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_amount_edit_evaluate (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result= (gw__c_result) ? SCM_BOOL_T : SCM_BOOL_F;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp753_gnc_amount_edit_evaluate_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp755_gnc_amount_edit_set_print_info_namestr = "gnc:amount-edit-set-print-info";
static SCM gw__tmp754_gnc_amount_edit_set_print_info_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCAmountEdit* gw__c_arg0;
GNCPrintAmountInfo gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(gnc_printinfo_p(gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1 = gnc_scm2printinfo(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_amount_edit_set_print_info (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp755_gnc_amount_edit_set_print_info_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp757_gnc_amount_edit_set_fraction_namestr = "gnc:amount-edit-set-fraction";
static SCM gw__tmp756_gnc_amount_edit_set_fraction_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCAmountEdit* gw__c_arg0;
int gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if(SCM_FALSEP(scm_integer_p(gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if(SCM_FALSEP(scm_geq_p(gw__scm_arg1, gw__tmp0_range_minval_gw_int_))        || SCM_FALSEP(scm_leq_p(gw__scm_arg1, gw__tmp1_range_maxval_gw_int_))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2long(gw__scm_arg1);
}

if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_amount_edit_set_fraction (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp757_gnc_amount_edit_set_fraction_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp759_gnc_amount_edit_set_evaluate_on_enter_namestr = "gnc:amount-edit-set-evaluate-on-enter";
static SCM gw__tmp758_gnc_amount_edit_set_evaluate_on_enter_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCAmountEdit* gw__c_arg0;
int gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp743_wct_info_for__gnc_GNCAmountEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= SCM_NFALSEP(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_amount_edit_set_evaluate_on_enter (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp759_gnc_amount_edit_set_evaluate_on_enter_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp762_gnc_date_edit_new_ts_namestr = "gnc:date-edit-new";
static SCM gw__tmp761_gnc_date_edit_new_ts_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
gncUIWidget gw__c_result;

Timespec gw__c_arg0;
int gw__c_arg1;
int gw__c_arg2;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if (!(gnc_timepair_p(gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {gw__c_arg0 = gnc_timepair2timespec(gw__scm_arg0);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= SCM_NFALSEP(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else {gw__c_arg2= SCM_NFALSEP(gw__scm_arg2);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;
SCM_DEFER_INTS;
gw__c_result = gnc_date_edit_new_ts (gw__c_arg0, gw__c_arg1, gw__c_arg2);
SCM_ALLOW_INTS;
{
if(gw__c_result == NULL) gw__scm_result = SCM_BOOL_F;
else gw__scm_result = gw_wcp_assimilate_ptr((void *) gw__c_result, gw__tmp669_wct_info_for__gnc_UIWidget_);
}
}
  gw__post_call_arg_2:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp762_gnc_date_edit_new_ts_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp764_gnc_date_edit_set_time_ts_namestr = "gnc:date-edit-set-time";
static SCM gw__tmp763_gnc_date_edit_set_time_ts_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GNCDateEdit* gw__c_arg0;
Timespec gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp760_wct_info_for__gnc_GNCDateEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(gnc_timepair_p(gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1 = gnc_timepair2timespec(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_date_edit_set_time_ts (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp764_gnc_date_edit_set_time_ts_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp766_gnc_date_edit_get_date_ts_namestr = "gnc:date-edit-get-date";
static SCM gw__tmp765_gnc_date_edit_get_date_ts_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
Timespec gw__c_result;

GNCDateEdit* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp760_wct_info_for__gnc_GNCDateEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_date_edit_get_date_ts (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = gnc_timespec2timepair(gw__c_result);
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp766_gnc_date_edit_get_date_ts_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp768_gnc_date_edit_get_date_end_ts_namestr = "gnc:date-edit-get-date-end";
static SCM gw__tmp767_gnc_date_edit_get_date_end_ts_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;
Timespec gw__c_result;

GNCDateEdit* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp760_wct_info_for__gnc_GNCDateEdit_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gw__c_result = gnc_date_edit_get_date_end_ts (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = gnc_timespec2timepair(gw__c_result);
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp768_gnc_date_edit_get_date_end_ts_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp771_gnc_druid_set_title_image_namestr = "gnc:druid-set-title-image";
static SCM gw__tmp770_gnc_druid_set_title_image_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GnomeDruid* gw__c_arg0;
char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp769_wct_info_for__gnc_GnomeDruid_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_druid_set_title_image (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp771_gnc_druid_set_title_image_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp773_gnc_druid_set_logo_image_namestr = "gnc:druid-set-logo-image";
static SCM gw__tmp772_gnc_druid_set_logo_image_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GnomeDruid* gw__c_arg0;
char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp769_wct_info_for__gnc_GnomeDruid_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_druid_set_logo_image (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp773_gnc_druid_set_logo_image_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp775_gnc_druid_set_watermark_image_namestr = "gnc:druid-set-watermark-image";
static SCM gw__tmp774_gnc_druid_set_watermark_image_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GnomeDruid* gw__c_arg0;
char * gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp769_wct_info_for__gnc_GnomeDruid_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
gw__c_arg1 = NULL;

if(SCM_FALSEP(gw__scm_arg1))
  gw__c_arg1 = NULL;
else if(SCM_STRINGP(gw__scm_arg1))
  gw__c_arg1 = gh_scm2newstr(gw__scm_arg1, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_druid_set_watermark_image (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
{
if(gw__c_arg1) free((void *) gw__c_arg1);
}
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp775_gnc_druid_set_watermark_image_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp777_gnc_druid_set_colors_namestr = "gnc:druid-set-colors";
static SCM gw__tmp776_gnc_druid_set_colors_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GnomeDruid* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp769_wct_info_for__gnc_GnomeDruid_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_druid_set_colors (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp777_gnc_druid_set_colors_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp780_gnc_clist_set_check_namestr = "gnc:clist-set-check";
static SCM gw__tmp779_gnc_clist_set_check_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1, SCM gw__scm_arg2, SCM gw__scm_arg3 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GtkCList* gw__c_arg0;
int gw__c_arg1;
int gw__c_arg2;
int gw__c_arg3;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp778_wct_info_for__gnc_GtkCList_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if(SCM_FALSEP(scm_integer_p(gw__scm_arg1))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if(SCM_FALSEP(scm_geq_p(gw__scm_arg1, gw__tmp0_range_minval_gw_int_))        || SCM_FALSEP(scm_leq_p(gw__scm_arg1, gw__tmp1_range_maxval_gw_int_))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2long(gw__scm_arg1);
}

if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
/* ARG 2 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;

{
if(SCM_FALSEP(scm_integer_p(gw__scm_arg2))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if(SCM_FALSEP(scm_geq_p(gw__scm_arg2, gw__tmp0_range_minval_gw_int_))        || SCM_FALSEP(scm_leq_p(gw__scm_arg2, gw__tmp1_range_maxval_gw_int_))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else {gw__c_arg2= gh_scm2long(gw__scm_arg2);
}

if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg2;
   goto gw__post_call_arg_2;
}
/* ARG 3 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_2;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else {gw__c_arg3= SCM_NFALSEP(gw__scm_arg3);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg3;
   goto gw__post_call_arg_3;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_3;
SCM_DEFER_INTS;
gnc_clist_set_check (gw__c_arg0, gw__c_arg1, gw__c_arg2, gw__c_arg3);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_3:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_2:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp780_gnc_clist_set_check_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp782_gnc_clist_columns_autosize_namestr = "gnc:clist-columns-autosize";
static SCM gw__tmp781_gnc_clist_columns_autosize_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GtkCList* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp778_wct_info_for__gnc_GtkCList_, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_clist_columns_autosize (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp782_gnc_clist_columns_autosize_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp784_gnc_mdi_show_progress_namestr = "gnc:mdi-show-progress";
static SCM gw__tmp783_gnc_mdi_show_progress_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

const char * gw__c_arg0;
double gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
gw__c_arg0 = NULL;

if(SCM_FALSEP(gw__scm_arg0))
  gw__c_arg0 = NULL;
else if(SCM_STRINGP(gw__scm_arg0))
  gw__c_arg0 = gh_scm2newstr(gw__scm_arg0, NULL);
else
{
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(SCM_NFALSEP(scm_number_p(gw__scm_arg1))
)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= gh_scm2double(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_mdi_show_progress (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
{
if(gw__c_arg0) free((void *) gw__c_arg0);
}
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp784_gnc_mdi_show_progress_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp786_gnc_set_busy_cursor_namestr = "gnc:set-busy-cursor";
static SCM gw__tmp785_gnc_set_busy_cursor_wrapper  (SCM gw__scm_arg0, SCM gw__scm_arg1 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GtkWidget* gw__c_arg0;
int gw__c_arg1;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp668_wct_info_for__gtk_Widget__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
/* ARG 1 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;

{
if (!(1)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else {gw__c_arg1= SCM_NFALSEP(gw__scm_arg1);
}if ((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
else if ((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg1;
   goto gw__post_call_arg_1;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_1;
SCM_DEFER_INTS;
gnc_set_busy_cursor (gw__c_arg0, gw__c_arg1);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_1:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp786_gnc_set_busy_cursor_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
static char * gw__tmp788_gnc_unset_busy_cursor_namestr = "gnc:unset-busy-cursor";
static SCM gw__tmp787_gnc_unset_busy_cursor_wrapper  (SCM gw__scm_arg0 ) {
  SCM gw__scm_result = SCM_UNSPECIFIED;
  enum GW__ErrorStatus gw__error_status = GW__ERR_NONE;
  SCM gw__error_data = SCM_UNSPECIFIED;
  unsigned int gw__arg_pos = 0;
  const char *gw__error_misc_msg = NULL;

GtkWidget* gw__c_arg0;
/* ARG 0 */
gw__arg_pos++;
if (gw__error_status != GW__ERR_NONE) goto gw__wrapper_exit;

{
if(!(SCM_FALSEP(gw__scm_arg0) || gw_wcp_is_of_type_p(gw__tmp668_wct_info_for__gtk_Widget__, gw__scm_arg0))){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else {if(SCM_FALSEP(gw__scm_arg0)) gw__c_arg0 = NULL;
else gw__c_arg0 = gw_wcp_get_ptr(gw__scm_arg0);
}
if((gw__error_status == GW__ERR_TYPE)){
   gw__error_status = GW__ERR_ARG_TYPE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
else if((gw__error_status == GW__ERR_RANGE)){
   gw__error_status = GW__ERR_ARG_RANGE;
    gw__error_data = gw__scm_arg0;
   goto gw__post_call_arg_0;
}
if (gw__error_status == GW__ERR_NONE)
{
  /* no pre-call result code requested! */
if (gw__error_status != GW__ERR_NONE) goto gw__post_call_arg_0;
SCM_DEFER_INTS;
gnc_unset_busy_cursor (gw__c_arg0);
SCM_ALLOW_INTS;
{
gw__scm_result = SCM_UNSPECIFIED;
}
}
  gw__post_call_arg_0:
  /* no post-call arg code requested! */
  { /* shut up warnings if no code */ int x = x; }
}
 gw__wrapper_exit:
  if(gw__error_status != GW__ERR_NONE)
    gw__handle_wrapper_error(gw__error_status,
                             gw__tmp788_gnc_unset_busy_cursor_namestr,
                             gw__arg_pos,
                             gw__error_misc_msg,
                             gw__error_data);
  return gw__scm_result;
}
void
gw_init_wrapset_gw_gnome_utils() {
  static int gw_wrapset_initialized = 0;

  if(!gw_wrapset_initialized)
  {
    gh_eval_str("(use-modules (g-wrap runtime))");
    gh_eval_str("(gw:wrapset-register-runtime \"gw-gnome-utils\")");

gh_eval_str("(use-modules (g-wrapped gw-app-utils))");
gh_eval_str("(use-modules (g-wrapped gw-engine))");
gh_eval_str("(use-modules (g-wrap gw-glib))");
gh_eval_str("(use-modules (g-wrap gw-wct))");
gh_eval_str("(use-modules (g-wrap gw-standard))");
{
   enum GW__ErrorStatus gw__tmp795_status_var = GW__ERR_NONE;
   SCM gw__tmp797_err_data = SCM_UNSPECIFIED;
   char *gw__tmp796_err_misc_msg = NULL;
   (void) gw__tmp795_status_var;
   (void) gw__tmp797_err_data;
   (void) gw__tmp796_err_misc_msg;
}
{
   enum GW__ErrorStatus gw__tmp798_err_status = GW__ERR_NONE;
   SCM gw__tmp800_err_data = SCM_UNSPECIFIED;
   char *gw__tmp799_err_misc_msg = NULL;
   (void) gw__tmp798_err_status;
   (void) gw__tmp800_err_data;
   (void) gw__tmp799_err_misc_msg;
    gw__tmp557_wct_info_for__gnc_OptionDB__ = gh_eval_str("<gnc:OptionDB*>");
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
gw__tmp0_range_minval_gw_int_ = scm_long2num(INT_MIN);
scm_protect_object(gw__tmp0_range_minval_gw_int_);
gw__tmp1_range_maxval_gw_int_ = scm_long2num(INT_MAX);
scm_protect_object(gw__tmp1_range_maxval_gw_int_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp778_wct_info_for__gnc_GtkCList_ = gw_wct_create("<gnc:GtkCList>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:GtkCList>", gw__tmp778_wct_info_for__gnc_GtkCList_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp769_wct_info_for__gnc_GnomeDruid_ = gw_wct_create("<gnc:GnomeDruid>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:GnomeDruid>", gw__tmp769_wct_info_for__gnc_GnomeDruid_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp760_wct_info_for__gnc_GNCDateEdit_ = gw_wct_create("<gnc:GNCDateEdit>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:GNCDateEdit>", gw__tmp760_wct_info_for__gnc_GNCDateEdit_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp743_wct_info_for__gnc_GNCAmountEdit_ = gw_wct_create("<gnc:GNCAmountEdit>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:GNCAmountEdit>", gw__tmp743_wct_info_for__gnc_GNCAmountEdit_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp706_wct_info_for__gnc_PaperDialog__ = gw_wct_create("<gnc:PaperDialog*>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:PaperDialog*>", gw__tmp706_wct_info_for__gnc_PaperDialog__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp705_wct_info_for__gnc_PrintDialog__ = gw_wct_create("<gnc:PrintDialog*>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:PrintDialog*>", gw__tmp705_wct_info_for__gnc_PrintDialog__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp704_wct_info_for__gnc_PrintSession__ = gw_wct_create("<gnc:PrintSession*>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:PrintSession*>", gw__tmp704_wct_info_for__gnc_PrintSession__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp672_wct_info_for__gnc_url_type_ = gw_wct_create("<gnc:url-type>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:url-type>", gw__tmp672_wct_info_for__gnc_url_type_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp671_wct_info_for__gnc_OptionWin__ = gw_wct_create("<gnc:OptionWin*>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:OptionWin*>", gw__tmp671_wct_info_for__gnc_OptionWin__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp670_wct_info_for__gnc_mdi_info__ = gw_wct_create("<gnc:mdi-info*>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:mdi-info*>", gw__tmp670_wct_info_for__gnc_mdi_info__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp669_wct_info_for__gnc_UIWidget_ = gw_wct_create("<gnc:UIWidget>", NULL, NULL, NULL, NULL);
  gh_define("<gnc:UIWidget>", gw__tmp669_wct_info_for__gnc_UIWidget_);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
    gw__tmp668_wct_info_for__gtk_Widget__ = gw_wct_create("<gtk:Widget*>", NULL, NULL, NULL, NULL);
  gh_define("<gtk:Widget*>", gw__tmp668_wct_info_for__gtk_Widget__);
if (gw__tmp798_err_status != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp798_err_status,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp799_err_misc_msg,
                            gw__tmp800_err_data);
}
{
   enum GW__ErrorStatus gw__tmp801_status_var = GW__ERR_NONE;
   SCM gw__tmp803_err_data = SCM_UNSPECIFIED;
   char *gw__tmp802_err_misc_msg = NULL;
   (void) gw__tmp801_status_var;
   (void) gw__tmp803_err_data;
   (void) gw__tmp802_err_misc_msg;
{
   SCM gw__tmp660_scm_wrapped_value;

  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(WINDOW_NAME_MAIN == NULL) gw__tmp660_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp660_scm_wrapped_value = gh_str02scm((char *) WINDOW_NAME_MAIN);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:window-name-main",gw__tmp660_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp661_scm_wrapped_value;

  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(WINDOW_NAME_REGISTER == NULL) gw__tmp661_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp661_scm_wrapped_value = gh_str02scm((char *) WINDOW_NAME_REGISTER);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:window-name-register",gw__tmp661_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp662_scm_wrapped_value;

  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(WINDOW_NAME_INVOICE == NULL) gw__tmp662_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp662_scm_wrapped_value = gh_str02scm((char *) WINDOW_NAME_INVOICE);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:window-name-invoice",gw__tmp662_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp663_scm_wrapped_value;

  /* we coerce to (char *) here b/c broken guile 1.3.4 prototype */
if(WINDOW_NAME_ALL == NULL) gw__tmp663_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp663_scm_wrapped_value = gh_str02scm((char *) WINDOW_NAME_ALL);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:window-name-all",gw__tmp663_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp665_gnc_gnome_init_namestr,
                     (SCM (*) ()) gw__tmp664_gnc_gnome_init_wrapper,
                     4,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp667_gnc_gnome_shutdown_namestr,
                     (SCM (*) ()) gw__tmp666_gnc_gnome_shutdown_wrapper,
                     0,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp673_scm_wrapped_value;

if(URL_TYPE_FILE == NULL) gw__tmp673_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp673_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_FILE, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-file",gw__tmp673_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp674_scm_wrapped_value;

if(URL_TYPE_JUMP == NULL) gw__tmp674_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp674_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_JUMP, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-jump",gw__tmp674_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp675_scm_wrapped_value;

if(URL_TYPE_HTTP == NULL) gw__tmp675_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp675_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_HTTP, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-http",gw__tmp675_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp676_scm_wrapped_value;

if(URL_TYPE_FTP == NULL) gw__tmp676_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp676_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_FTP, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-ftp",gw__tmp676_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp677_scm_wrapped_value;

if(URL_TYPE_SECURE == NULL) gw__tmp677_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp677_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_SECURE, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-secure",gw__tmp677_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp678_scm_wrapped_value;

if(URL_TYPE_REGISTER == NULL) gw__tmp678_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp678_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_REGISTER, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-register",gw__tmp678_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp679_scm_wrapped_value;

if(URL_TYPE_ACCTTREE == NULL) gw__tmp679_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp679_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_ACCTTREE, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-accttree",gw__tmp679_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp680_scm_wrapped_value;

if(URL_TYPE_REPORT == NULL) gw__tmp680_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp680_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_REPORT, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-report",gw__tmp680_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp681_scm_wrapped_value;

if(URL_TYPE_OPTIONS == NULL) gw__tmp681_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp681_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_OPTIONS, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-options",gw__tmp681_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp682_scm_wrapped_value;

if(URL_TYPE_SCHEME == NULL) gw__tmp682_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp682_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_SCHEME, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-scheme",gw__tmp682_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp683_scm_wrapped_value;

if(URL_TYPE_HELP == NULL) gw__tmp683_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp683_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_HELP, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-help",gw__tmp683_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp684_scm_wrapped_value;

if(URL_TYPE_XMLDATA == NULL) gw__tmp684_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp684_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_XMLDATA, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-xmldata",gw__tmp684_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp685_scm_wrapped_value;

if(URL_TYPE_ACTION == NULL) gw__tmp685_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp685_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_ACTION, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-action",gw__tmp685_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp686_scm_wrapped_value;

if(URL_TYPE_PRICE == NULL) gw__tmp686_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp686_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_PRICE, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-price",gw__tmp686_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
{
   SCM gw__tmp687_scm_wrapped_value;

if(URL_TYPE_OTHER == NULL) gw__tmp687_scm_wrapped_value = SCM_BOOL_F;
else gw__tmp687_scm_wrapped_value = gw_wcp_assimilate_ptr((void *) URL_TYPE_OTHER, gw__tmp672_wct_info_for__gnc_url_type_);
if(!(gw__tmp801_status_var != GW__ERR_NONE))  gh_define("gnc:url-type-other",gw__tmp687_scm_wrapped_value);
}
if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp689_gnc_options_dialog_new_namestr,
                     (SCM (*) ()) gw__tmp688_gnc_options_dialog_new_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp691_gnc_options_dialog_destroy_namestr,
                     (SCM (*) ()) gw__tmp690_gnc_options_dialog_destroy_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp693_gnc_build_options_dialog_contents_namestr,
                     (SCM (*) ()) gw__tmp692_gnc_build_options_dialog_contents_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp695_gnc_options_dialog_set_scm_callbacks_namestr,
                     (SCM (*) ()) gw__tmp694_gnc_options_dialog_set_scm_callbacks_wrapper,
                     3,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp697_gnc_mdi_has_apps_namestr,
                     (SCM (*) ()) gw__tmp696_gnc_mdi_has_apps_wrapper,
                     0,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp699_gnc_mdi_get_current_namestr,
                     (SCM (*) ()) gw__tmp698_gnc_mdi_get_current_wrapper,
                     0,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp701_gnc_mdi_save_namestr,
                     (SCM (*) ()) gw__tmp700_gnc_mdi_save_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp703_gnc_mdi_restore_namestr,
                     (SCM (*) ()) gw__tmp702_gnc_mdi_restore_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp708_gnc_print_session_create_namestr,
                     (SCM (*) ()) gw__tmp707_gnc_print_session_create_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp710_gnc_print_session_destroy_namestr,
                     (SCM (*) ()) gw__tmp709_gnc_print_session_destroy_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp712_gnc_print_session_moveto_namestr,
                     (SCM (*) ()) gw__tmp711_gnc_print_session_moveto_wrapper,
                     3,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp714_gnc_print_session_text_namestr,
                     (SCM (*) ()) gw__tmp713_gnc_print_session_text_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp716_gnc_print_session_rotate_namestr,
                     (SCM (*) ()) gw__tmp715_gnc_print_session_rotate_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp718_gnc_print_session_translate_namestr,
                     (SCM (*) ()) gw__tmp717_gnc_print_session_translate_wrapper,
                     3,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp720_gnc_print_session_gsave_namestr,
                     (SCM (*) ()) gw__tmp719_gnc_print_session_gsave_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp722_gnc_print_session_grestore_namestr,
                     (SCM (*) ()) gw__tmp721_gnc_print_session_grestore_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp724_gnc_print_session_done_namestr,
                     (SCM (*) ()) gw__tmp723_gnc_print_session_done_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp726_gnc_print_session_print_namestr,
                     (SCM (*) ()) gw__tmp725_gnc_print_session_print_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp728_gnc_error_dialog_namestr,
                     (SCM (*) ()) gw__tmp727_gnc_error_dialog_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp730_gnc_verify_dialog_namestr,
                     (SCM (*) ()) gw__tmp729_gnc_verify_dialog_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp732_gnc_info_dialog_namestr,
                     (SCM (*) ()) gw__tmp731_gnc_info_dialog_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp734_gnc_warning_dialog_namestr,
                     (SCM (*) ()) gw__tmp733_gnc_warning_dialog_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp736_gnc_add_scm_extension_namestr,
                     (SCM (*) ()) gw__tmp735_gnc_add_scm_extension_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp738_gnc_choose_radio_option_dialog_parented_namestr,
                     (SCM (*) ()) gw__tmp737_gnc_choose_radio_option_dialog_parented_wrapper,
                     5,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp740_gnc_html_encode_string_namestr,
                     (SCM (*) ()) gw__tmp739_gnc_html_encode_string_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp742_gnc_build_url_namestr,
                     (SCM (*) ()) gw__tmp741_gnc_build_url_wrapper,
                     3,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp745_gnc_amount_edit_new_namestr,
                     (SCM (*) ()) gw__tmp744_gnc_amount_edit_new_wrapper,
                     0,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp747_gnc_amount_edit_gtk_entry_namestr,
                     (SCM (*) ()) gw__tmp746_gnc_amount_edit_gtk_entry_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp749_gnc_amount_edit_set_amount_namestr,
                     (SCM (*) ()) gw__tmp748_gnc_amount_edit_set_amount_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp751_gnc_amount_edit_get_amount_namestr,
                     (SCM (*) ()) gw__tmp750_gnc_amount_edit_get_amount_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp753_gnc_amount_edit_evaluate_namestr,
                     (SCM (*) ()) gw__tmp752_gnc_amount_edit_evaluate_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp755_gnc_amount_edit_set_print_info_namestr,
                     (SCM (*) ()) gw__tmp754_gnc_amount_edit_set_print_info_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp757_gnc_amount_edit_set_fraction_namestr,
                     (SCM (*) ()) gw__tmp756_gnc_amount_edit_set_fraction_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp759_gnc_amount_edit_set_evaluate_on_enter_namestr,
                     (SCM (*) ()) gw__tmp758_gnc_amount_edit_set_evaluate_on_enter_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp762_gnc_date_edit_new_ts_namestr,
                     (SCM (*) ()) gw__tmp761_gnc_date_edit_new_ts_wrapper,
                     3,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp764_gnc_date_edit_set_time_ts_namestr,
                     (SCM (*) ()) gw__tmp763_gnc_date_edit_set_time_ts_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp766_gnc_date_edit_get_date_ts_namestr,
                     (SCM (*) ()) gw__tmp765_gnc_date_edit_get_date_ts_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp768_gnc_date_edit_get_date_end_ts_namestr,
                     (SCM (*) ()) gw__tmp767_gnc_date_edit_get_date_end_ts_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp771_gnc_druid_set_title_image_namestr,
                     (SCM (*) ()) gw__tmp770_gnc_druid_set_title_image_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp773_gnc_druid_set_logo_image_namestr,
                     (SCM (*) ()) gw__tmp772_gnc_druid_set_logo_image_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp775_gnc_druid_set_watermark_image_namestr,
                     (SCM (*) ()) gw__tmp774_gnc_druid_set_watermark_image_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp777_gnc_druid_set_colors_namestr,
                     (SCM (*) ()) gw__tmp776_gnc_druid_set_colors_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp780_gnc_clist_set_check_namestr,
                     (SCM (*) ()) gw__tmp779_gnc_clist_set_check_wrapper,
                     4,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp782_gnc_clist_columns_autosize_namestr,
                     (SCM (*) ()) gw__tmp781_gnc_clist_columns_autosize_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp784_gnc_mdi_show_progress_namestr,
                     (SCM (*) ()) gw__tmp783_gnc_mdi_show_progress_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp786_gnc_set_busy_cursor_namestr,
                     (SCM (*) ()) gw__tmp785_gnc_set_busy_cursor_wrapper,
                     2,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
    gh_new_procedure(gw__tmp788_gnc_unset_busy_cursor_namestr,
                     (SCM (*) ()) gw__tmp787_gnc_unset_busy_cursor_wrapper,
                     1,
                     0,
                     0);

if (gw__tmp801_status_var != GW__ERR_NONE)  gw__handle_wrapper_error (gw__tmp801_status_var,
                            "gw_init_wrapset_gw_gnome_utils",
                            0,
                            gw__tmp802_err_misc_msg,
                            gw__tmp803_err_data);
}
    gw_wrapset_initialized = 1;
    (void) gw__handle_wrapper_error;
  }
}
