diff options
Diffstat (limited to 'doc/ref/api-foreign-objects.texi')
-rw-r--r-- | doc/ref/api-foreign-objects.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ref/api-foreign-objects.texi b/doc/ref/api-foreign-objects.texi index eb7a462e1..f27f9c154 100644 --- a/doc/ref/api-foreign-objects.texi +++ b/doc/ref/api-foreign-objects.texi @@ -14,7 +14,8 @@ working with foreign objects. @xref{Defining New Foreign Object Types}, for a tutorial-like introduction to foreign objects. @deftp {C Type} scm_t_struct_finalize -This type returns @code{void} and takes one @code{SCM} argument. +This function type returns @code{void} and takes one @code{SCM} +argument. @end deftp @deftypefn {C Function} SCM scm_make_foreign_object_type (SCM name, SCM slots, scm_t_struct_finalize finalizer) @@ -73,9 +74,9 @@ initialize the first @var{n} fields to the given values, as appropriate. The number of fields for objects of a given type is fixed when the type is created. It is an error to give more initializers than there are fields in the value. It is perfectly fine to give fewer initializers -than needed, however; this is convenient when some fields are of -non-pointer types, and it would be easier to initialize them with the -setters indicated below. +than needed; this is convenient when some fields are of non-pointer +types, and would be easier to initialize with the setters described +below. @end deftypefn @deftypefn {C Function} void* scm_foreign_object_ref (SCM obj, size_t n); |