sphore 0.0.1
SPH openGL rendering engine

src/warning.c File Reference

Code handeling warnings being printed to stderr. More...

#include "sphore.h"
#include "warning.h"
#include <stdio.h>

Functions

void SRE_start_warnings (void)
 Warnings will be printed to stderr.
void SRE_stop_warnings (void)
 Warnings will not be printed to stderr.
void print_warning (char *source, char *message)
 Prints a warning message.

Detailed Description

Code handeling warnings being printed to stderr.


Function Documentation

void print_warning ( char *  source,
char *  message 
)

Prints a warning message.

Warnings must be enabled for it to take effect. See SRE_start_warnings

void SRE_start_warnings ( void  )

Warnings will be printed to stderr.

void SRE_stop_warnings ( void  )

Warnings will not be printed to stderr.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines