nothings-stb/tests/test_c_compilation.c

42 lines
1.1 KiB
C
Raw Normal View History

#include "stb_sprintf.h"
#define STB_SPRINTF_IMPLEMENTATION
#include "stb_sprintf.h"
#define STB_PERLIN_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#define STB_DXT_IMPLEMENATION
#define STB_C_LEXER_IMPLEMENTATIOn
2014-05-26 05:54:59 +01:00
#define STB_DIVIDE_IMPLEMENTATION
2014-05-31 13:38:26 +01:00
#define STB_IMAGE_IMPLEMENTATION
2014-07-07 12:54:52 +01:00
#define STB_HERRINGBONE_WANG_TILE_IMEPLEMENTATIOn
2014-08-18 17:12:59 +01:00
#define STB_IMAGE_RESIZE_IMPLEMENTATION
2014-12-02 11:00:08 +00:00
#define STB_RECT_PACK_IMPLEMENTATION
#define STB_VOXEL_RENDER_IMPLEMENTATION
2015-09-13 13:51:16 +01:00
#define STB_EASY_FONT_IMPLEMENTATION
2015-09-13 13:51:16 +01:00
#include "stb_easy_font.h"
2014-07-07 12:54:52 +01:00
#include "stb_herringbone_wang_tile.h"
2014-05-31 13:38:26 +01:00
#include "stb_image.h"
#include "stb_image_write.h"
#include "stb_perlin.h"
#include "stb_dxt.h"
#include "stb_c_lexer.h"
2014-05-26 05:54:59 +01:00
#include "stb_divide.h"
2014-09-24 01:56:03 +01:00
#include "stb_image_resize.h"
2014-12-02 11:00:08 +00:00
#include "stb_rect_pack.h"
2014-09-24 01:56:03 +01:00
#define STBVOX_CONFIG_MODE 1
#include "stb_voxel_render.h"
2014-12-02 11:00:08 +00:00
#define STBTE_DRAW_RECT(x0,y0,x1,y1,color) 0
#define STBTE_DRAW_TILE(x,y,id,highlight,data) 0
2014-09-24 01:56:03 +01:00
#define STB_TILEMAP_EDITOR_IMPLEMENTATION
#include "stb_tilemap_editor.h"
int quicktest(void)
{
char buffer[999];
stbsp_sprintf(buffer, "test%%test");
return 0;
}