doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
getpart.c File Reference
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include "getpart.h"

Go to the source code of this file.

Macros

#define EAT_SPACE(ptr)   while( ptr && *ptr && isspace((int)*ptr) ) ptr++
 
#define EAT_WORD(ptr)   while( ptr && *ptr && !isspace((int)*ptr) && ('>' != *ptr)) ptr++
 
#define show(x)
 

Functions

const char * spitout (FILE *stream, const char *main, const char *sub, int *size)
 

Macro Definition Documentation

#define EAT_SPACE (   ptr)    while( ptr && *ptr && isspace((int)*ptr) ) ptr++

Definition at line 30 of file getpart.c.

#define EAT_WORD (   ptr)    while( ptr && *ptr && !isspace((int)*ptr) && ('>' != *ptr)) ptr++

Definition at line 31 of file getpart.c.

#define show (   x)

Definition at line 36 of file getpart.c.

Function Documentation

const char* spitout ( FILE *  stream,
const char *  main,
const char *  sub,
int size 
)

Definition at line 66 of file getpart.c.