start converting stb_image.c to a .h file

pull/4/head
Sean Barrett 2014-05-31 04:49:43 -07:00
parent 7ed3bb26bb
commit 927b455d85
4 changed files with 4685 additions and 12 deletions

4673
stb_image.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#define STBI_HEADER_FILE_ONLY
#include "stb_image.c"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
int main(int argc, char **argv)

View File

@ -86,10 +86,6 @@ SOURCE=..\image_test.c
# End Source File
# Begin Source File
SOURCE=..\..\stb_image.c
# End Source File
# Begin Source File
SOURCE=..\..\stb_image_write.h
# End Source File
# End Target

View File

@ -4,6 +4,7 @@
#define STB_DXT_IMPLEMENATION
#define STB_C_LEXER_IMPLEMENTATIOn
#define STB_DIVIDE_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#include "stb_truetype.h"
#include "stb_image_write.h"
@ -11,3 +12,6 @@
#include "stb_dxt.h"
#include "stb_c_lexer.h"
#include "stb_divide.h"
#include "stb_image.h"