1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Added scm_assert_smob_type docs.

This commit is contained in:
Marius Vollmer 2004-09-24 02:06:01 +00:00
parent f7e6665450
commit 52191b37dd

View file

@ -87,6 +87,11 @@ The @var{equalp} procedure should return @code{SCM_BOOL_T} when
smob type @var{tc}.
@end deftypefn
@deftypefn {C Function} void scm_assert_smob_type (scm_t_bits tag, SCM val)
When @var{val} is a smob of the type indicated by @var{tag}, do nothing.
Else, signal an error.
@end deftypefn
@deftypefn {C Macro} int SCM_SMOB_PREDICATE (scm_t_bits tag, SCM exp)
Return true iff @var{exp} is a smob instance of the type indicated by
@var{tag}. The expression @var{exp} can be evaluated more than once,