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

Go to the source code of this file.

Classes

struct  scm_to_stringn_data
 
struct  scm_from_stringn_data
 

Functions

int gdbscm_scm_string_to_int (SCM string)
 
SCM gdbscm_scm_from_c_string (const char *string)
 
char * gdbscm_scm_to_c_string (SCM string)
 
SCM gdbscm_scm_from_printf (const char *format,...)
 
static SCM gdbscm_call_scm_to_stringn (void *datap)
 
char * gdbscm_scm_to_string (SCM string, size_t *lenp, const char *charset, int strict, SCM *except_scmp)
 
static SCM gdbscm_call_scm_from_stringn (void *datap)
 
SCM gdbscm_scm_from_string (const char *string, size_t len, const char *charset, int strict)
 
char * gdbscm_scm_to_host_string (SCM string, size_t *lenp, SCM *except_scmp)
 
SCM gdbscm_scm_from_host_string (const char *string, size_t len)
 
static SCM gdbscm_string_to_argv (SCM string_scm)
 
void gdbscm_initialize_strings (void)
 

Variables

static const scheme_function string_functions []
 

Function Documentation

static SCM gdbscm_call_scm_from_stringn ( void *  datap)
static
static SCM gdbscm_call_scm_to_stringn ( void *  datap)
static
void gdbscm_initialize_strings ( void  )

Definition at line 280 of file scm-string.c.

References gdbscm_define_functions().

SCM gdbscm_scm_from_c_string ( const char *  string)
SCM gdbscm_scm_from_host_string ( const char *  string,
size_t  len 
)

Definition at line 231 of file scm-string.c.

References gdbscm_scm_from_string(), and host_charset().

Referenced by pascm_param_value(), and pascm_show_func().

SCM gdbscm_scm_from_printf ( const char *  format,
  ... 
)

Definition at line 63 of file scm-string.c.

References string, xfree(), and xstrvprintf().

SCM gdbscm_scm_from_string ( const char *  string,
size_t  len,
const char *  charset,
int  strict 
)
int gdbscm_scm_string_to_int ( SCM  string)

Definition at line 31 of file scm-string.c.

char* gdbscm_scm_to_c_string ( SCM  string)
char* gdbscm_scm_to_host_string ( SCM  string,
size_t *  lenp,
SCM *  except_scmp 
)
char* gdbscm_scm_to_string ( SCM  string,
size_t *  lenp,
const char *  charset,
int  strict,
SCM *  except_scmp 
)
static SCM gdbscm_string_to_argv ( SCM  string_scm)
static

Variable Documentation

const scheme_function string_functions[]
static
Initial value:
=
{
{ "string->argv", 1, 0, 0, gdbscm_string_to_argv,
"\
Convert a string to a list of strings split up according to\n\
gdb's argv parsing rules." },
}
static SCM gdbscm_string_to_argv(SCM string_scm)
Definition: scm-string.c:241
#define END_FUNCTIONS

Definition at line 269 of file scm-string.c.