Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenslang_mem.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5.3 00004 * 00005 * Copyright (C) 2005-2007 Brian Paul All Rights Reserved. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a 00008 * copy of this software and associated documentation files (the "Software"), 00009 * to deal in the Software without restriction, including without limitation 00010 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00011 * and/or sell copies of the Software, and to permit persons to whom the 00012 * Software is furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included 00015 * in all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00018 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00020 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00021 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00022 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 00026 #ifndef SLANG_MEM_H 00027 #define SLANG_MEM_H 00028 00029 00030 #include "main/imports.h" 00031 00032 00033 typedef struct slang_mempool_ slang_mempool; 00034 00035 00036 extern slang_mempool * 00037 _slang_new_mempool(GLuint initialSize); 00038 00039 extern void 00040 _slang_delete_mempool(slang_mempool *pool); 00041 00042 extern void * 00043 _slang_alloc(GLuint bytes); 00044 00045 extern void * 00046 _slang_realloc(void *oldBuffer, GLuint oldSize, GLuint newSize); 00047 00048 extern char * 00049 _slang_strdup(const char *s); 00050 00051 extern void 00052 _slang_free(void *addr); 00053 00054 00055 #endif Generated on Fri May 25 2012 04:18:49 for ReactOS by
1.7.6.1
|