diff options
Diffstat (limited to 'struct.c')
-rw-r--r-- | struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -433,7 +433,7 @@ val find_struct_type(val sym) val struct_type_p(val obj) { - return tnil(typeof(obj) == struct_type_s); + return cobjclassp(obj, struct_type_s); } val struct_get_initfun(val type) |