mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-10 03:48:33 +00:00
Moved sm_memtable files in sqlite extension to sdk directory (to be consistent with topmenus) Some extension source files had an incorrect extension name in their headers Updated copyright year on some rarely altered files --HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402038
32 lines
959 B
C
32 lines
959 B
C
/**
|
|
* vim: set ts=4 :
|
|
* ======================================================
|
|
* Metamod:Source Stub Plugin
|
|
* Written by AlliedModders LLC.
|
|
* ======================================================
|
|
*
|
|
* This software is provided 'as-is', without any express or implied warranty.
|
|
* In no event will the authors be held liable for any damages arising from
|
|
* the use of this software.
|
|
*
|
|
* This stub plugin is public domain.
|
|
*
|
|
* Version: $Id$
|
|
*/
|
|
|
|
#ifndef _INCLUDE_STUB_UTIL_FUNCTIONS_H_
|
|
#define _INCLUDE_STUB_UTIL_FUNCTIONS_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
/**
|
|
* This is a platform-safe function which fixes weird idiosyncracies
|
|
* in the null-termination and return value of snprintf(). It guarantees
|
|
* the terminator on overflow cases, and never returns -1 or a value
|
|
* not equal to the number of non-terminating bytes written.
|
|
*/
|
|
size_t UTIL_Format(char *buffer, size_t maxlength, const char *fmt, ...);
|
|
|
|
#endif //_INCLUDE_STUB_UTIL_FUNCTIONS_H_
|
|
|