GDB (xrefs)
Classes | Functions | Variables
scm-iterator.c File Reference
#include "defs.h"
#include "guile-internal.h"

Go to the source code of this file.

Classes

struct  _iterator_smob
 

Functions

const char * itscm_iterator_smob_name (void)
 
SCM itscm_iterator_smob_object (iterator_smob *i_smob)
 
SCM itscm_iterator_smob_progress (iterator_smob *i_smob)
 
void itscm_set_iterator_smob_progress_x (iterator_smob *i_smob, SCM progress)
 
static int itscm_print_iterator_smob (SCM self, SCM port, scm_print_state *pstate)
 
static SCM itscm_make_iterator_smob (SCM object, SCM progress, SCM next)
 
SCM gdbscm_make_iterator (SCM object, SCM progress, SCM next)
 
int itscm_is_iterator (SCM scm)
 
static SCM gdbscm_iterator_p (SCM scm)
 
SCM gdbscm_end_of_iteration (void)
 
int itscm_is_end_of_iteration (SCM obj)
 
static SCM gdbscm_end_of_iteration_p (SCM obj)
 
SCM itscm_safe_call_next_x (SCM iter, excp_matcher_func *ok_excps)
 
SCM itscm_get_iterator_arg_unsafe (SCM self, int arg_pos, const char *func_name)
 
static SCM gdbscm_iterator_object (SCM self)
 
static SCM gdbscm_iterator_progress (SCM self)
 
static SCM gdbscm_set_iterator_progress_x (SCM self, SCM value)
 
static SCM gdbscm_iterator_next_x (SCM self)
 
void gdbscm_initialize_iterators (void)
 

Variables

static const char iterator_smob_name [] = "gdb:iterator"
 
static scm_t_bits iterator_smob_tag
 
static SCM end_of_iteration
 
static const scheme_function iterator_functions []
 

Function Documentation

SCM gdbscm_end_of_iteration ( void  )

Definition at line 189 of file scm-iterator.c.

References end_of_iteration.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

static SCM gdbscm_end_of_iteration_p ( SCM  obj)
static

Definition at line 205 of file scm-iterator.c.

References itscm_is_end_of_iteration().

void gdbscm_initialize_iterators ( void  )
static SCM gdbscm_iterator_next_x ( SCM  self)
static
static SCM gdbscm_iterator_object ( SCM  self)
static
static SCM gdbscm_iterator_p ( SCM  scm)
static

Definition at line 180 of file scm-iterator.c.

References itscm_is_iterator().

static SCM gdbscm_iterator_progress ( SCM  self)
static
SCM gdbscm_make_iterator ( SCM  object,
SCM  progress,
SCM  next 
)
static SCM gdbscm_set_iterator_progress_x ( SCM  self,
SCM  value 
)
static
SCM itscm_get_iterator_arg_unsafe ( SCM  self,
int  arg_pos,
const char *  func_name 
)
int itscm_is_end_of_iteration ( SCM  obj)

Definition at line 197 of file scm-iterator.c.

References end_of_iteration.

Referenced by gdbscm_end_of_iteration_p(), and ppscm_print_children().

int itscm_is_iterator ( SCM  scm)
const char* itscm_iterator_smob_name ( void  )

Definition at line 88 of file scm-iterator.c.

References iterator_smob_name.

SCM itscm_iterator_smob_object ( iterator_smob i_smob)

Definition at line 94 of file scm-iterator.c.

References _iterator_smob::object.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

SCM itscm_iterator_smob_progress ( iterator_smob i_smob)

Definition at line 100 of file scm-iterator.c.

References _iterator_smob::progress.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

static SCM itscm_make_iterator_smob ( SCM  object,
SCM  progress,
SCM  next 
)
static
static int itscm_print_iterator_smob ( SCM  self,
SCM  port,
scm_print_state *  pstate 
)
static
SCM itscm_safe_call_next_x ( SCM  iter,
excp_matcher_func ok_excps 
)
void itscm_set_iterator_smob_progress_x ( iterator_smob i_smob,
SCM  progress 
)

Definition at line 106 of file scm-iterator.c.

References _iterator_smob::progress.

Referenced by gdbscm_type_next_field_x().

Variable Documentation

SCM end_of_iteration
static
const scheme_function iterator_functions[]
static

Definition at line 302 of file scm-iterator.c.

const char iterator_smob_name[] = "gdb:iterator"
static
scm_t_bits iterator_smob_tag
static