This commit is contained in:
2026-03-25 01:27:39 +01:00
parent eb4e15c66b
commit 8fe7e726a4
26 changed files with 1896 additions and 517 deletions

View File

@@ -55,6 +55,9 @@ public:
~Shm();
};
template <class T> void ref(Shm *shm, int place, T **p);
template <class T> inline void ref(Shm *shm, int place, T **p)
{
*p = reinterpret_cast<T *>(shm->ref(place));
}
#endif // SHM_H