Construct a magic number¶
SS_MAGIC_CONS
is a macro defined in ssobj.h.
Synopsis:
-
SS_MAGIC_CONS
(C, S)¶
Description: Given a magic class number like what is returned by SS_MAGIC_CLASS and a sequence number like
what is returned by SS_MAGIC_SEQUENCE, construct a magic number. The class, C, and sequence, S
, don’t have
to be purely a class or sequence because they’ll be filtered.
Return Value: An unsigned
int
magic number constructed from a class and sequence number.
See Also:
- SS_MAGIC_CLASS: 5.6: Obtain magic number class
- SS_MAGIC_SEQUENCE: 5.7: Obtain magic sequence number
- Magic Numbers: Introduction for current chapter