X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fmemory.h;h=191b8b76fa46636f040273a9389003acf5b6b324;hb=647924a407f11655babc5450f098ee504fe1d182;hp=b63501604ea96fcf2553db2e53198525912de15c;hpb=a46a1d55c077e3aa91a728047409050187e90083;p=flatwaifu.git diff --git a/src/memory.h b/src/memory.h index b635016..191b8b7 100644 --- a/src/memory.h +++ b/src/memory.h @@ -19,9 +19,14 @@ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -// High-level memory allocation +#ifndef MEMORY_H_INCLULDED +#define MEMORY_H_INCLULDED -void M_startup(void); -void M_shutdown(void); -void *M_lock(int); -void M_unlock(void *); +void M_startup (void); +void M_shutdown (void); +void *M_lock (int h); +void M_unlock (void *p); +int M_locked (int h); +int M_was_locked (int h); + +#endif /* MEMORY_H_INCLULDED */