Asserts object runtime type¶
SS_ASSERT_TYPE
is a macro defined in sserr.h.
Synopsis:
-
SS_ASSERT_TYPE
(_obj_, _type_)¶
Description: The first argument should be an object of the specified type, valid at runtime. If it isn’t then a TYPE
error is raised. The _type_
argument is a C datatype like ss_fieldtmpl_t
.
See Also:
- Error Handling: Introduction for current chapter