refs

ds2.1.1/lib/doc/efun/all/refs · 383 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

refs - return the number of references to a data structure

int refs( mixed data );

This efun is only available if PACKAGE_DEVELOP is compiled in.

The number of references to `data' will be returned by refs().  This is 
useful for deciding whether or not to make a copy of a data structure
before returning it.

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571