mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added Cyc_is_opaque
This commit is contained in:
parent
a946a6cb69
commit
161c46ac72
2 changed files with 8 additions and 0 deletions
|
@ -235,6 +235,7 @@ object Cyc_is_procedure(void *data, object o);
|
|||
object Cyc_is_macro(object o);
|
||||
object Cyc_is_eof_object(object o);
|
||||
object Cyc_is_cvar(object o);
|
||||
object Cyc_is_opaque(object o);
|
||||
object Cyc_sum_op(void *data, common_type * x, object y);
|
||||
object Cyc_sub_op(void *data, common_type * x, object y);
|
||||
object Cyc_mul_op(void *data, common_type * x, object y);
|
||||
|
|
|
@ -1115,6 +1115,13 @@ object Cyc_is_cvar(object o)
|
|||
return boolean_f;
|
||||
}
|
||||
|
||||
object Cyc_is_opaque(object o)
|
||||
{
|
||||
if ((o != NULL) && !is_value_type(o) && ((list) o)->tag == c_opaque_tag)
|
||||
return boolean_t;
|
||||
return boolean_f;
|
||||
}
|
||||
|
||||
object Cyc_eq(object x, object y)
|
||||
{
|
||||
if (x == y)
|
||||
|
|
Loading…
Add table
Reference in a new issue