X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fmemory.h;h=90585d0f6a801ed1194a319199cc350b6dcfd1c2;hp=121490be2ccda0d3d788ce06b38cbfbb12d341d6;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=a2115940e7643dcb1b87286f3d19fe95f7b79bd3 diff --git a/src/memory.h b/src/memory.h index 121490b..90585d0 100644 --- a/src/memory.h +++ b/src/memory.h @@ -1,28 +1,28 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ - This file is part of the Doom2D:Rembo project. +#ifndef MEMORY_H_INCLULDED +#define MEMORY_H_INCLULDED - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. +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); - Doom2D:Rembo is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -// High-level memory allocation - -void M_startup(void); -void M_shutdown(void); -void *M_lock(int); -void M_unlock(void *); +#endif /* MEMORY_H_INCLULDED */