/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
***************************************************************************/

#pragma once

#include "glmCoreAPI.h"
#include <stddef.h>
#include <stdarg.h>

namespace glm
{
	GLM_CORE_API int sprintfSafe(char *buffer, const size_t sizeOfBuffer, const char *format, ...);

	GLM_CORE_API int vsprintfSafe(char *buffer, const size_t sizeOfBuffer, const char *format, va_list argptr);

	GLM_CORE_API void strcpySafe(char *buffer, const size_t sizeOfBuffer, const char *source);

	GLM_CORE_API void strReplaceCharSafe(char *buffer, const size_t sizeOfBuffer, const char charToReplace, const char charReplacement);
}

