mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Prefix for STB symbols
This commit is contained in:
parent
bcdf652b99
commit
c4bb50b340
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
#include "platform/PlatformHelper.h"
|
#include "platform/PlatformHelper.h"
|
||||||
|
|
||||||
#ifndef BF_SMALL
|
#ifndef BF_SMALL
|
||||||
|
#define STB_SPRINTF_DECORATE(name) BF_stbsp_##name
|
||||||
#define STB_SPRINTF_IMPLEMENTATION
|
#define STB_SPRINTF_IMPLEMENTATION
|
||||||
#include "third_party/stb/stb_sprintf.h"
|
#include "third_party/stb/stb_sprintf.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -811,7 +812,7 @@ String Beefy::vformat(const char* fmt, va_list argPtr)
|
||||||
{
|
{
|
||||||
String str;
|
String str;
|
||||||
char buf[STB_SPRINTF_MIN];
|
char buf[STB_SPRINTF_MIN];
|
||||||
stbsp_vsprintfcb(StbspCallback, (void*)&str, buf, fmt, argPtr);
|
BF_stbsp_vsprintfcb(StbspCallback, (void*)&str, buf, fmt, argPtr);
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue