mirror of
https://github.com/joel16/gLib2D.git
synced 2024-11-27 03:50:47 +00:00
remove unnecessary headers and use stdbool
This commit is contained in:
parent
8b90a6ccfc
commit
f56ade3345
3
glib2d.c
3
glib2d.c
@ -11,9 +11,7 @@
|
||||
#include <pspdisplay.h>
|
||||
#include <pspgu.h>
|
||||
#include <vram.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#ifdef USE_PNG
|
||||
@ -22,7 +20,6 @@
|
||||
|
||||
#ifdef USE_JPEG
|
||||
#include <jpeglib.h>
|
||||
#include <jerror.h>
|
||||
#endif
|
||||
|
||||
#define PSP_LINE_SIZE (512)
|
||||
|
16
glib2d.h
16
glib2d.h
@ -55,21 +55,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def false
|
||||
* \brief False boolean constant.
|
||||
*/
|
||||
/**
|
||||
* \def true
|
||||
* \brief True boolean constant.
|
||||
*/
|
||||
/**
|
||||
* \typedef bool
|
||||
* \brief Boolean variable type.
|
||||
*/
|
||||
#define false (0)
|
||||
#define true (!false)
|
||||
typedef char bool;
|
||||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* \def USE_PNG
|
||||
|
Loading…
Reference in New Issue
Block a user