mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Adding memsize_of_all doc
This commit is contained in:
@@ -357,6 +357,14 @@ os_memsize_of_all_cb(mrb_state *mrb, struct RBasic *obj, void *d)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* ObjectSpace.memsize_of_all([klass]) -> Numeric
|
||||
*
|
||||
* Return consuming memory size of all living objects of type klass.
|
||||
*
|
||||
*/
|
||||
|
||||
static mrb_value
|
||||
os_memsize_of_all(mrb_state *mrb, mrb_value self)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user