00001 #ifndef __LISTT_I_HPP 00002 #define __LISTT_I_HPP 00003 00004 /**********************************************************/ 00005 /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/ 00006 /* 00007 Copyright: 1996 - Grupo de Voz (DAET) ETSII/IT-Bilbao 00008 00009 Nombre fuente................ LISTT.CPP 00010 Nombre paquete............... - 00011 Lenguaje fuente.............. C++ 00012 Estado....................... Completado 00013 Dependencia Hard/OS.......... - 00014 Codigo condicional........... - 00015 00016 Codificacion................. Borja Etxebarria 00017 00018 Version dd/mm/aa Autor Comentario 00019 ------- -------- -------- ---------- 00020 1.0.1 30/08/98 Borja split varios modulos listt_?.cpp 00021 00022 ======================== Contenido ======================== 00023 ver doc. en listt.cpp 00024 =========================================================== 00025 */ 00026 /*/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\*/ 00027 /**********************************************************/ 00028 00029 #include "listt.hpp" 00030 #include "uti.h" 00031 00032 /**********************************************************/ 00033 00034 #ifdef LIST_PTRVERIFY 00035 #define LISTVERIFY(p,func) cdie_beep(!owns(p),"List %s(): invalid Lix",func) 00036 #define XLISTVERIFY(l,p,func) cdie_beep(!l.owns(p),"List %s(): invalid Lix",func) 00037 #define LISTNONULL(p,func) cdie_beep(p==0,"List %s(): null Lix",func) 00038 #define LISTERROR(func,cause) die_beep("List %s(): %s",func,cause) 00039 #else 00040 #define LISTVERIFY(p,func) {} 00041 #define XLISTVERIFY(l,p,func) {} 00042 #define LISTNONULL(p,func) {} 00043 #define LISTERROR(func,cause) { (void)func; } 00044 #endif 00045 00046 /**********************************************************/ 00047 00048 #define __SWAP__(a,b,tmp) { tmp=a; a=b; b=tmp; } 00049 00050 /**********************************************************/ 00051 00052 #ifdef LIST_PTRVERIFY 00053 #define LIX_SAFE(i,f,a) __lix_safe(i,f,a) 00054 #else 00055 #define LIX_SAFE(i,f,a) lix(i) 00056 #endif 00057 00058 /**********************************************************/ 00059 00060 #endif
1.5.6