Allocates unique integer keys.
|numkeys ||Number of keys required. |
- First allocated key; hence if the returned key is n you can use n, n + 1, ..., n + (numkeys - 1)
Definition at line 742 of file sp-item.cpp.
Referenced by SPDesktop::init().
static unsigned dkey = 0;
dkey += numkeys;
return dkey - numkeys;