Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

POST YOUR void.h EQUIVALENTS HERE

Name: Anonymous 2010-07-12 16:55

#ifndef GLOBAL_H
#define GLOBAL_H
#include <stdlib.h>
#include <stdio.h>

/* global.h - Stuff everyone likes
 */

#define BIT(n)        (1<<(n))

#define unless(a)    if(!(a))
#define    until(a)    while(!(a))
/* <3 Perl <3 */

#define    _QUOTE(x)    #x
#define QUOTE(x)    _QUOTE(x)
#define    _FILE_AND_LINE    __FILE__ ":" QUOTE(__LINE__) " "
#define printe(...)    fprintf( stderr, __VA_ARGS__ )
#define perror(...)    printe( _FILE_AND_LINE __VA_ARGS__ )
#define die(...)    printe( __VA_ARGS__ ), exit (1)
#define UNUSED(a)    (void) (a)

#ifdef    DEBUG_THINGS
#define DEBUG(...)    perror( __VA_ARGS__ )
#else
#define    DEBUG(...)
#endif

/* 32-BIT IS KING */
typedef unsigned int    uint;

typedef unsigned char    u8;
typedef signed char    s8;
typedef unsigned short    u16;
typedef signed short    s16;
typedef unsigned int    u32;
typedef signed int    s32;
/* long is for queers */

#endif /* GLOBAL_H */

Name: Anonymous 2011-11-30 12:25

void.h
Enjoying your non-portable code, `faggots'??

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List