Annotation of 42BSD/include/mp.h, revision 1.1

1.1     ! root        1: /*     mp.h    4.2     83/07/01        */
        !             2: 
        !             3: #define MINT struct mint
        !             4: MINT
        !             5: {      int len;
        !             6:        short *val;
        !             7: };
        !             8: #define FREE(x) {if(x.len!=0) {free((char *)x.val); x.len=0;}}
        !             9: #ifndef DBG
        !            10: #define shfree(u) free((char *)u)
        !            11: #else
        !            12: #include <stdio.h>
        !            13: #define shfree(u) { if(dbg) fprintf(stderr, "free %o\n", u); free((char *)u);}
        !            14: extern int dbg;
        !            15: #endif
        !            16: #ifndef vax
        !            17: struct half
        !            18: {      short high;
        !            19:        short low;
        !            20: };
        !            21: #else
        !            22: struct half
        !            23: {      short low;
        !            24:        short high;
        !            25: };
        !            26: #endif
        !            27: extern MINT *itom();
        !            28: extern short *xalloc();
        !            29: 
        !            30: #ifdef lint
        !            31: extern xv_oid;
        !            32: #define VOID xv_oid =
        !            33: #else
        !            34: #define VOID
        !            35: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.