00001 #ifndef ___STAT_H 00002 #define ___STAT_H 00003 00004 /**********************************************************/ 00005 /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/ 00006 /* 00007 Copyright: 1994 - Grupo de Voz (DAET) ETSII/IT-Bilbao 00008 00009 Nombre fuente................ _STAT.C 00010 Nombre paquete............... SPL 00011 Lenguaje fuente.............. C (Borland C/C++ 3.1) 00012 Estado....................... Completado 00013 Dependencia Hard/OS.......... - 00014 Codigo condicional........... - 00015 00016 Codificacion................. Borja Etxebarria 00017 00018 Version dd/mm/aa Autor Proposito de la edicion 00019 ------- -------- -------- ----------------------- 00020 1.0.2 30/07/95 Borja scope funciones explicito 00021 1.0.1 10/02/95 Borja uso XALLOC.H -> _ALLOC.H 00022 1.0.0 10/02/95 Borja Codificacion inicial. 00023 00024 ======================== Contenido ======================== 00025 Uso interno de STAT.C 00026 00027 NOTA: Para la reserva de memoria dinamica se han definido 00028 dos macros: stat_malloc() y stat_free(), que mapean a las 00029 funciones _malloc() y _free(), definidas en _ALLOC.H. 00030 =========================================================== 00031 */ 00032 /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/ 00033 /**********************************************************/ 00034 00035 #include <stdlib.h> 00036 #include <assert.h> 00037 00038 #include "stat.h" 00039 00040 /**********************************************************/ 00041 /* Reserva/liberacion de memoria */ 00042 00043 #include "_alloc.h" 00044 00045 #define stat_malloc(n) _malloc(n) 00046 #define stat_free(p) _free(p) 00047 00048 /**********************************************************/ 00049 00050 #endif 00051