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 945 of file sp-item.cpp.
Referenced by SPDesktop::init().
static unsigned dkey = 0;
dkey += numkeys;
return dkey - numkeys;