added vsprintf.h

This commit is contained in:
2021-08-21 17:32:31 +08:00
parent b27524caac
commit 9d0febc893
4 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#ifndef HGL_PLATFORM_INCLUDE
#define HGL_PLATFORM_INCLUDE
#include<hgl/platform/os/vsprintf.h>
#ifdef _DEBUG
#define HGL_LIB_DEBUG_NAME "Debug"
#else

View File

@@ -16,5 +16,4 @@ using os_char =char;
#define os_in std::cin
#define os_err std::cerr
#define os_log std::clog
#endif//HGL_CHAR_TYPE_INCLUDE

View File

@@ -0,0 +1,9 @@
#ifndef HGL_VSPRINTF_INCLUDE
#define HGL_VSPRINTF_INCLUDE
#include<stdarg.h>
namespace hgl
{
template<typename T> int vsprintf(T *,const size_t,const T *,va_list va);
}//namespace hgl
#endif//HGL_VSPRINTF_INCLUDE