[ruamoko] Implement -describe for Set

Being able to use printf directly is nice :)
This commit is contained in:
Bill Currie 2023-05-17 21:09:00 +09:00
parent 8d4602ec61
commit 5f75616655

View file

@ -80,6 +80,11 @@ string set_as_string (set_t *set) = #0;
[super dealloc];
}
- (string) describe
{
return set_as_string (set);
}
- (Set *) add: (unsigned) x = #0;
- (Set *) remove: (unsigned) x = #0;
- (Set *) invert = #0;