___slogan_obj_to_char(s, t)
___slogan_obj_to_uchar(s, t)
___slogan_obj_to_int(s, t)
___slogan_obj_to_uint(s, t)
___slogan_obj_to_long(s, t)
___slogan_obj_to_ulong(s, t)
___slogan_obj_to_longlong(s, t)
___slogan_obj_to_float(s, t)
___slogan_obj_to_double(s, t)
___slogan_obj_to_charstring(s, t)
___slogan_obj_to_nonnull_charstring(s, t)
___slogan_obj_to_void_pointer(s, t)
These are C macros defined in slogan.h
. The ___slogan_obj
object s
is converted to
a C int
, unsigned int
, float
, double
or char*
and stored in
t
which should be the address of a C variable of the appropriate type.
Please see ffi_open
for example code.