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:
parent
f7e6665450
commit
52191b37dd
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue