42 SbStorage(
unsigned int size) { this->storage = cc_storage_construct(size); }
44 { this->storage = cc_storage_construct_etc(size,
constr,
destr); }
45 ~SbStorage(
void) { cc_storage_destruct(this->storage); }
47 void * get(
void) {
return cc_storage_get(this->storage); }
48 void applyToAll(SbStorageApplyFunc * func,
void * closure) {
49 cc_storage_apply_to_all(this->storage,
50 reinterpret_cast<cc_storage_apply_func *
>(func), closure);