1 #ifndef COIN_SBTYPEDSTORAGE_H
2 #define COIN_SBTYPEDSTORAGE_H
27 #include <Inventor/C/threads/storage.h>
32 SbTypedStorage(
unsigned int size) { this->storage = cc_storage_construct(size); }
33 SbTypedStorage(
unsigned int size,
void (*constr)(
void *),
void (*destr)(
void *))
34 { this->storage = cc_storage_construct_etc(size, constr, destr); }
37 Type
get(void) {
return (Type) cc_storage_get(this->storage); }
43 #endif // !COIN_SBTYPEDSTORAGE_H