size.c

lima-1.0b5/lib/std/object/size.c · 321 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

private nosave int size = MEDIUM;

//:FUNCTION query_size
//query_size() returns the size of an object
int query_size()
{
  return size;
}

//:FUNCTION set_size
//set_size(s) sets the size of an object to 's'
void set_size(int s)
{
  size = s;
}

Site Stats

Snippets: 1791
Codebases: 571