/* >>>> Generated by mkmark.rkt from mzmarksrc.c <<<< */

static int mark_input_file_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Input_File));
}

static int mark_input_file_MARK(void *p, struct NewGC *gc) {
  Scheme_Input_File *i = (Scheme_Input_File *)p;

  gcMARK2(i->f, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Input_File));
}

static int mark_input_file_FIXUP(void *p, struct NewGC *gc) {
  Scheme_Input_File *i = (Scheme_Input_File *)p;

  gcFIXUP2(i->f, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Input_File));
}

#define mark_input_file_IS_ATOMIC 0
#define mark_input_file_IS_CONST_SIZE 1


static int mark_output_file_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Output_File));
}

static int mark_output_file_MARK(void *p, struct NewGC *gc) {
  Scheme_Output_File *o = (Scheme_Output_File *)p;

  gcMARK2(o->f, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Output_File));
}

static int mark_output_file_FIXUP(void *p, struct NewGC *gc) {
  Scheme_Output_File *o = (Scheme_Output_File *)p;

  gcFIXUP2(o->f, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Output_File));
}

#define mark_output_file_IS_ATOMIC 0
#define mark_output_file_IS_CONST_SIZE 1


#ifdef MZ_FDS
static int mark_input_fd_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_FD));
}

static int mark_input_fd_MARK(void *p, struct NewGC *gc) {
  Scheme_FD *fd = (Scheme_FD *)p;

  gcMARK2(fd->buffer, gc);
  gcMARK2(fd->refcount, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_FD));
}

static int mark_input_fd_FIXUP(void *p, struct NewGC *gc) {
  Scheme_FD *fd = (Scheme_FD *)p;

  gcFIXUP2(fd->buffer, gc);
  gcFIXUP2(fd->refcount, gc);

  return
  gcBYTES_TO_WORDS(sizeof(Scheme_FD));
}

#define mark_input_fd_IS_ATOMIC 0
#define mark_input_fd_IS_CONST_SIZE 1

#endif

#if defined(UNIX_PROCESSES) && !(defined(MZ_USE_PLACES) && defined(MZ_PRECISE_GC))
static int mark_system_child_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(System_Child));
}

static int mark_system_child_MARK(void *p, struct NewGC *gc) {
  System_Child *sc = (System_Child *)p;

  gcMARK2(sc->next, gc);

  return
  gcBYTES_TO_WORDS(sizeof(System_Child));
}

static int mark_system_child_FIXUP(void *p, struct NewGC *gc) {
  System_Child *sc = (System_Child *)p;

  gcFIXUP2(sc->next, gc);

  return
  gcBYTES_TO_WORDS(sizeof(System_Child));
}

#define mark_system_child_IS_ATOMIC 0
#define mark_system_child_IS_CONST_SIZE 1

#endif

#ifdef USE_OSKIT_CONSOLE
static int mark_oskit_console_input_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(osk_console_input));
}

static int mark_oskit_console_input_MARK(void *p, struct NewGC *gc) {
  osk_console_input *c = (osk_console_input *)p;
    
  gcMARK2(c->buffer, gc);
  gcMARK2(c->next, gc);

  return
  gcBYTES_TO_WORDS(sizeof(osk_console_input));
}

static int mark_oskit_console_input_FIXUP(void *p, struct NewGC *gc) {
  osk_console_input *c = (osk_console_input *)p;
    
  gcFIXUP2(c->buffer, gc);
  gcFIXUP2(c->next, gc);

  return
  gcBYTES_TO_WORDS(sizeof(osk_console_input));
}

#define mark_oskit_console_input_IS_ATOMIC 0
#define mark_oskit_console_input_IS_CONST_SIZE 1

#endif

static int mark_subprocess_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Subprocess));
}

static int mark_subprocess_MARK(void *p, struct NewGC *gc) {
#ifndef WINDOWS_PROCESSES
  Scheme_Subprocess *sp = (Scheme_Subprocess *)p;
  gcMARK2(sp->handle, gc);
  gcMARK2(sp->mref, gc);
#endif
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Subprocess));
}

static int mark_subprocess_FIXUP(void *p, struct NewGC *gc) {
#ifndef WINDOWS_PROCESSES
  Scheme_Subprocess *sp = (Scheme_Subprocess *)p;
  gcFIXUP2(sp->handle, gc);
  gcFIXUP2(sp->mref, gc);
#endif
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Subprocess));
}

#define mark_subprocess_IS_ATOMIC 0
#define mark_subprocess_IS_CONST_SIZE 1


static int mark_read_write_evt_SIZE(void *p, struct NewGC *gc) {
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Read_Write_Evt));
}

static int mark_read_write_evt_MARK(void *p, struct NewGC *gc) {
  Scheme_Read_Write_Evt *rww = (Scheme_Read_Write_Evt *)p;
  gcMARK2(rww->port, gc);
  gcMARK2(rww->v, gc);
  gcMARK2(rww->str, gc);
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Read_Write_Evt));
}

static int mark_read_write_evt_FIXUP(void *p, struct NewGC *gc) {
  Scheme_Read_Write_Evt *rww = (Scheme_Read_Write_Evt *)p;
  gcFIXUP2(rww->port, gc);
  gcFIXUP2(rww->v, gc);
  gcFIXUP2(rww->str, gc);
  return
  gcBYTES_TO_WORDS(sizeof(Scheme_Read_Write_Evt));
}

#define mark_read_write_evt_IS_ATOMIC 0
#define mark_read_write_evt_IS_CONST_SIZE 1


