GDB (xrefs)
Loading...
Searching...
No Matches
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

◆ gdbscm_end_of_iteration()

SCM gdbscm_end_of_iteration ( void  )

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

References end_of_iteration.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

◆ gdbscm_end_of_iteration_p()

static SCM gdbscm_end_of_iteration_p ( SCM  obj)
static

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

References itscm_is_end_of_iteration().

◆ gdbscm_initialize_iterators()

void gdbscm_initialize_iterators ( void  )

◆ gdbscm_iterator_next_x()

static SCM gdbscm_iterator_next_x ( SCM  self)
static

◆ gdbscm_iterator_object()

static SCM gdbscm_iterator_object ( SCM  self)
static

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

References FUNC_NAME, itscm_get_iterator_arg_unsafe(), and iterator_smob::object.

◆ gdbscm_iterator_p()

static SCM gdbscm_iterator_p ( SCM  scm)
static

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

References itscm_is_iterator().

◆ gdbscm_iterator_progress()

static SCM gdbscm_iterator_progress ( SCM  self)
static

◆ gdbscm_make_iterator()

SCM gdbscm_make_iterator ( SCM  object,
SCM  progress,
SCM  next 
)

◆ gdbscm_set_iterator_progress_x()

static SCM gdbscm_set_iterator_progress_x ( SCM  self,
SCM  value 
)
static

◆ itscm_get_iterator_arg_unsafe()

SCM itscm_get_iterator_arg_unsafe ( SCM  self,
int  arg_pos,
const char *  func_name 
)

◆ itscm_is_end_of_iteration()

int itscm_is_end_of_iteration ( SCM  obj)

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

References end_of_iteration.

Referenced by gdbscm_end_of_iteration_p(), and ppscm_print_children().

◆ itscm_is_iterator()

int itscm_is_iterator ( SCM  scm)

◆ itscm_iterator_smob_name()

const char * itscm_iterator_smob_name ( void  )

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

References iterator_smob_name.

◆ itscm_iterator_smob_object()

SCM itscm_iterator_smob_object ( iterator_smob i_smob)

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

References iterator_smob::object.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

◆ itscm_iterator_smob_progress()

SCM itscm_iterator_smob_progress ( iterator_smob i_smob)

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

References iterator_smob::progress.

Referenced by gdbscm_block_next_symbol_x(), and gdbscm_type_next_field_x().

◆ itscm_make_iterator_smob()

static SCM itscm_make_iterator_smob ( SCM  object,
SCM  progress,
SCM  next 
)
static

◆ itscm_print_iterator_smob()

static int itscm_print_iterator_smob ( SCM  self,
SCM  port,
scm_print_state *  pstate 
)
static

◆ itscm_safe_call_next_x()

SCM itscm_safe_call_next_x ( SCM  iter,
excp_matcher_func ok_excps 
)

◆ itscm_set_iterator_smob_progress_x()

void itscm_set_iterator_smob_progress_x ( iterator_smob i_smob,
SCM  progress 
)

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

References iterator_smob::progress.

Referenced by gdbscm_type_next_field_x().

Variable Documentation

◆ end_of_iteration

SCM end_of_iteration
static

◆ iterator_functions

const scheme_function iterator_functions[]
static

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

Referenced by gdbscm_initialize_iterators().

◆ iterator_smob_name

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

◆ iterator_smob_tag

scm_t_bits iterator_smob_tag
static