www.delorie.com/gnu/docs/guile/guile_350.html   search  
Buy GNU books!

Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

30. Objects

Scheme Procedure: entity? obj
C Function: scm_entity_p (obj)
Return #t if obj is an entity.

Scheme Procedure: operator? obj
C Function: scm_operator_p (obj)
Return #t if obj is an operator.

Scheme Procedure: set-object-procedure! obj proc
C Function: scm_set_object_procedure_x (obj, proc)
Set the object procedure of obj to proc. obj must be either an entity or an operator.

Scheme Procedure: make-class-object metaclass layout
C Function: scm_make_class_object (metaclass, layout)
Create a new class object of class metaclass, with the slot layout specified by layout.

Scheme Procedure: make-subclass-object class layout
C Function: scm_make_subclass_object (class, layout)
Create a subclass object of class, with the slot layout specified by layout.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003