start converting stb_image.c to a .h file

master
Sean Barrett ago%!(EXTRA string=11 years)
parent 7ed3bb26bb
commit 927b455d85
  1. 4673
      stb_image.h
  2. 4
      tests/image_test.c
  3. 4
      tests/image_test/image_test.dsp
  4. 4
      tests/test_cpp_compilation.cpp

File diff suppressed because it is too large Load Diff

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

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

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

Loading…
Cancel
Save