1 /* -*- Mode: C; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // -------------------------------------------------------------------------*/
11 * Functions which are completely missing from a system's native C runtime.
16 #ifndef SQUIRRELJME_STDGONE_H
17 #define SQUIRRELJME_STDGONE_H
19 #include "sjme/config.h"
23 #ifndef SJME_CXX_IS_EXTERNED
24 #define SJME_CXX_IS_EXTERNED
25 #define SJME_CXX_SQUIRRELJME_STDGONE_H
28 #endif /* #ifdef SJME_CXX_IS_EXTERNED */
29 #endif /* #ifdef __cplusplus */
31 /*--------------------------------------------------------------------------*/
33 #if defined(SJME_CONFIG_HAS_NO_SNPRINTF)
35 sjme_attrInNotNull
char* buf
,
36 sjme_attrInPositive
size_t bufSize
,
37 sjme_attrInNotNull
const char* format
,
41 /*--------------------------------------------------------------------------*/
45 #ifdef SJME_CXX_SQUIRRELJME_STDGONE_H
47 #undef SJME_CXX_SQUIRRELJME_STDGONE_H
48 #undef SJME_CXX_IS_EXTERNED
49 #endif /* #ifdef SJME_CXX_SQUIRRELJME_STDGONE_H */
50 #endif /* #ifdef __cplusplus */
52 #endif /* SQUIRRELJME_STDGONE_H */