test func "boolean?"
This commit is contained in:
parent
f45261214f
commit
23fbcd8877
2 changed files with 80 additions and 1 deletions
2
object.c
2
object.c
|
@ -33,7 +33,7 @@ struct Object *Object_new_boolean(const bool boolean)
|
|||
|
||||
struct Object *Object_new_char(const char chr)
|
||||
{
|
||||
struct Object *const object = new(TYPE_BOOLEAN);
|
||||
struct Object *const object = new(TYPE_CHAR);
|
||||
object->chr = chr;
|
||||
return object;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue