GUILE_PROC(scm_not, "not", 1, 0, 0,
(SCM x),
- "")
+"")
#define FUNC_NAME s_scm_not
{
return SCM_BOOL(SCM_FALSEP(x));
GUILE_PROC (scm_hook_to_list, "hook->list", 1, 0, 0,
(SCM hook),
- "")
+"")
#define FUNC_NAME s_scm_hook_to_list
{
SCM_VALIDATE_HOOK(1,hook);
GUILE_PROC (scm_nil_car, "nil-car", 1, 0, 0,
(SCM x),
- "")
+"")
#define FUNC_NAME s_scm_nil_car
{
if (SCM_NILP (x))
GUILE_PROC (scm_nil_cdr, "nil-cdr", 1, 0, 0,
(SCM x),
- "")
+"")
#define FUNC_NAME s_scm_nil_cdr
{
if (SCM_NILP (x))
Could use SCM_BOOL, below, otherwise */
GUILE_PROC (scm_null, "null", 1, 0, 0,
(SCM x),
- "")
+"")
#define FUNC_NAME s_scm_null
{
return (SCM_NILP (x) || SCM_NULLP (x) || SCM_FALSEP (x)) ? scm_t : scm_nil;
GUILE_PROC (scm_entity_p, "entity?", 1, 0, 0,
(SCM obj),
- "")
+"")
#define FUNC_NAME s_scm_entity_p
{
return SCM_BOOL(SCM_NIMP (obj) && SCM_STRUCTP (obj) && SCM_I_ENTITYP (obj));
GUILE_PROC (scm_operator_p, "operator?", 1, 0, 0,
(SCM obj),
- "")
+"")
#define FUNC_NAME s_scm_operator_p
{
return SCM_BOOL(SCM_NIMP (obj)
GUILE_PROC (scm_set_object_procedure_x, "set-object-procedure!", 2, 0, 0,
(SCM obj, SCM proc),
- "")
+"")
#define FUNC_NAME s_scm_set_object_procedure_x
{
SCM_ASSERT (SCM_NIMP (obj) && SCM_STRUCTP (obj)
#ifdef GUILE_DEBUG
GUILE_PROC (scm_object_procedure, "object-procedure", 1, 0, 0,
(SCM obj),
- "")
+"")
#define FUNC_NAME s_scm_object_procedure
{
SCM_ASSERT (SCM_NIMP (obj) && SCM_STRUCTP (obj)
GUILE_PROC (scm_make_class_object, "make-class-object", 2, 0, 0,
(SCM metaclass, SCM layout),
- "")
+"")
#define FUNC_NAME s_scm_make_class_object
{
unsigned long flags = 0;
GUILE_PROC (scm_make_subclass_object, "make-subclass-object", 2, 0, 0,
(SCM class, SCM layout),
- "")
+"")
#define FUNC_NAME s_scm_make_subclass_object
{
SCM pl;
/* Clear a port's read buffers, returning the contents. */
GUILE_PROC (scm_drain_input, "drain-input", 1, 0, 0,
(SCM port),
- "")
+"")
#define FUNC_NAME s_scm_drain_input
{
SCM result;
GUILE_PROC(scm_current_pstate, "current-pstate", 0, 0, 0,
(),
- "")
+"")
#define FUNC_NAME s_scm_current_pstate
{
return SCM_CADR (print_state_pool);
GUILE_PROC (scm_procedure_with_setter_p, "procedure-with-setter?", 1, 0, 0,
(SCM obj),
- "")
+"")
#define FUNC_NAME s_scm_procedure_with_setter_p
{
return SCM_BOOL(SCM_NIMP (obj) && SCM_PROCEDURE_WITH_SETTER_P (obj));
GUILE_PROC (scm_make_procedure_with_setter, "make-procedure-with-setter", 2, 0, 0,
(SCM procedure, SCM setter),
- "")
+"")
#define FUNC_NAME s_scm_make_procedure_with_setter
{
SCM z;
GUILE_PROC (scm_procedure, "procedure", 1, 0, 0,
(SCM proc),
- "")
+"")
#define FUNC_NAME s_scm_procedure
{
SCM_VALIDATE_NIM (1,proc);
GUILE_PROC (scm_random, "random", 1, 1, 0,
(SCM n, SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random
{
if (SCM_UNBNDP (state))
GUILE_PROC (scm_copy_random_state, "copy-random-state", 0, 1, 0,
(SCM state),
- "")
+"")
#define FUNC_NAME s_scm_copy_random_state
{
if (SCM_UNBNDP (state))
GUILE_PROC (scm_seed_to_random_state, "seed->random-state", 1, 0, 0,
(SCM seed),
- "")
+"")
#define FUNC_NAME s_scm_seed_to_random_state
{
if (SCM_NUMBERP (seed))
GUILE_PROC (scm_random_uniform, "random:uniform", 0, 1, 0,
(SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random_uniform
{
if (SCM_UNBNDP (state))
GUILE_PROC (scm_random_normal, "random:normal", 0, 1, 0,
(SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random_normal
{
if (SCM_UNBNDP (state))
*/
GUILE_PROC (scm_random_solid_sphere_x, "random:solid-sphere!", 1, 1, 0,
(SCM v, SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random_solid_sphere_x
{
SCM_ASSERT (SCM_NIMP (v)
GUILE_PROC (scm_random_hollow_sphere_x, "random:hollow-sphere!", 1, 1, 0,
(SCM v, SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random_hollow_sphere_x
{
SCM_ASSERT (SCM_NIMP (v)
GUILE_PROC (scm_random_exp, "random:exp", 0, 1, 0,
(SCM state),
- "")
+"")
#define FUNC_NAME s_scm_random_exp
{
if (SCM_UNBNDP (state))
GUILE_PROC (scm_regexp_exec, "regexp-exec", 2, 2, 0,
(SCM rx, SCM str, SCM start, SCM flags),
- "")
+"")
#define FUNC_NAME s_scm_regexp_exec
{
int status, nmatches, offset;
/* simple exit, without unwinding the scheme stack or flushing ports. */
GUILE_PROC (scm_primitive_exit, "primitive-exit", 0, 1, 0,
(SCM status),
- "")
+"")
#define FUNC_NAME s_scm_primitive_exit
{
int cstatus = 0;
GUILE_PROC (scm_htons, "htons", 1, 0, 0,
(SCM in),
- "")
+"")
#define FUNC_NAME s_scm_htons
{
unsigned short c_in;
GUILE_PROC (scm_ntohs, "ntohs", 1, 0, 0,
(SCM in),
- "")
+"")
#define FUNC_NAME s_scm_ntohs
{
unsigned short c_in;
GUILE_PROC (scm_htonl, "htonl", 1, 0, 0,
(SCM in),
- "")
+"")
#define FUNC_NAME s_scm_htonl
{
unsigned long c_in = SCM_NUM2ULONG (1,in);
GUILE_PROC (scm_ntohl, "ntohl", 1, 0, 0,
(SCM in),
- "")
+"")
#define FUNC_NAME s_scm_ntohl
{
unsigned long c_in = SCM_NUM2ULONG (1,in);
GUILE_PROC (scm_source_properties, "source-properties", 1, 0, 0,
(SCM obj),
- "")
+"")
#define FUNC_NAME s_scm_source_properties
{
SCM p;
GUILE_PROC(scm_get_internal_real_time, "get-internal-real-time", 0, 0, 0,
(),
- "")
+"")
#define FUNC_NAME s_scm_get_internal_real_time
{
return scm_long2num((time((timet*)0) - scm_your_base) * (int)CLKTCK);
GUILE_PROC (scm_gettimeofday, "gettimeofday", 0, 0, 0,
(void),
- "")
+"")
#define FUNC_NAME s_scm_gettimeofday
{
#ifdef HAVE_GETTIMEOFDAY
GUILE_PROC(scm_substring_move_x, "substring-move!", 5, 0, 0,
(SCM str1, SCM start1, SCM end1, SCM str2, SCM start2),
- "")
+"")
#define FUNC_NAME s_scm_substring_move_x
{
long s1, s2, e, len;
GUILE_PROC(scm_substring_fill_x, "substring-fill!", 4, 0, 0,
(SCM str, SCM start, SCM end, SCM fill),
- "")
+"")
#define FUNC_NAME s_scm_substring_fill_x
{
long i, e;
GUILE_PROC (scm_make_struct, "make-struct", 2, 0, 1,
(SCM vtable, SCM tail_array_size, SCM init),
- "")
+"")
#define FUNC_NAME s_scm_make_struct
{
SCM layout;
GUILE_PROC (scm_struct_vtable_name, "struct-vtable-name", 1, 0, 0,
(SCM vtable),
- "")
+"")
#define FUNC_NAME s_scm_struct_vtable_name
{
SCM_VALIDATE_VTABLE(1,vtable);
GUILE_PROC (scm_set_struct_vtable_name_x, "set-struct-vtable-name!", 2, 0, 0,
(SCM vtable, SCM name),
- "")
+"")
#define FUNC_NAME s_scm_set_struct_vtable_name_x
{
SCM_VALIDATE_VTABLE(1,vtable);
GUILE_PROC(scm_symbol_fset_x, "symbol-fset!", 2, 0, 0,
(SCM s, SCM val),
- "")
+"")
#define FUNC_NAME s_scm_symbol_fset_x
{
SCM_VALIDATE_SYMBOL(1,s);
GUILE_PROC(scm_make_variable, "make-variable", 1, 1, 0,
(SCM init, SCM name_hint),
- "")
+"")
#define FUNC_NAME s_scm_make_variable
{
SCM val_cell;
GUILE_PROC(scm_make_undefined_variable, "make-undefined-variable", 0, 1, 0,
(SCM name_hint),
- "")
+"")
#define FUNC_NAME s_scm_make_undefined_variable
{
SCM vcell;
GUILE_PROC (scm_vector_move_left_x, "vector-move-left!", 5, 0, 0,
(SCM vec1, SCM start1, SCM end1, SCM vec2, SCM start2),
- "")
+"")
#define FUNC_NAME s_scm_vector_move_left_x
{
long i;
GUILE_PROC (scm_vector_move_right_x, "vector-move-right!", 5, 0, 0,
(SCM vec1, SCM start1, SCM end1, SCM vec2, SCM start2),
- "")
+"")
#define FUNC_NAME s_scm_vector_move_right_x
{
long i;
GUILE_PROC(scm_weak_key_hash_table_p, "weak-key-hash-table?", 1, 0, 0,
(SCM x),
- "")
+"")
#define FUNC_NAME s_scm_weak_key_hash_table_p
{
return SCM_BOOL(SCM_NIMP (x) && SCM_WVECTP (x) && SCM_IS_WHVEC(x));