Raw File
mhsnoopdef.h
/*

   mhsnoopdef.h

   Define structure 'Snoop' containing visual debugger parameters and state

   $Revision: 1.2 $  $Date: 2013/05/27 02:09:10 $

*/

#ifndef R_INTERNALS_H_
#include <Rinternals.h>
#endif

typedef struct Snoop {
  int active;    /* true or false */
  int nextstop;  /* jump to iteration number 'nextstop' */
  int nexttype;  /* jump to the next proposal of type 'nexttype' */
  SEXP env;    /* environment for exchanging data with R */
  SEXP expr;   /* callback expression for visual debugger */
} Snoop;

#define NO_TYPE -1
back to top