mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-19 13:33:00 +01:00
Updated catch.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <stdlib.h> // size_t
|
||||
#include <stddef.h> // ptrdiff_t
|
||||
|
||||
#include "platform.h"
|
||||
#include "config.h"
|
||||
#include "macros.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef BX_CONFIG_H_HEADER_GUARD
|
||||
#define BX_CONFIG_H_HEADER_GUARD
|
||||
|
||||
#include "platform.h"
|
||||
#include "bx.h"
|
||||
|
||||
#ifndef BX_CONFIG_ALLOCATOR_DEBUG
|
||||
# define BX_CONFIG_ALLOCATOR_DEBUG 0
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#ifndef BX_ERROR_H_HEADER_GUARD
|
||||
#define BX_ERROR_H_HEADER_GUARD
|
||||
|
||||
#include "bx.h"
|
||||
#include "string.h"
|
||||
|
||||
#define BX_ERROR_SET(_ptr, _result, _msg) \
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#ifndef BX_OS_H_HEADER_GUARD
|
||||
#define BX_OS_H_HEADER_GUARD
|
||||
|
||||
#include "bx.h"
|
||||
#include "debug.h"
|
||||
|
||||
#if BX_PLATFORM_OSX
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#ifndef BX_READERWRITER_H_HEADER_GUARD
|
||||
#define BX_READERWRITER_H_HEADER_GUARD
|
||||
|
||||
#include "bx.h"
|
||||
#include "allocator.h"
|
||||
#include "error.h"
|
||||
#include "uint32_t.h"
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
#ifndef BX_STRING_H_HEADER_GUARD
|
||||
#define BX_STRING_H_HEADER_GUARD
|
||||
|
||||
#include "bx.h"
|
||||
#include <wchar.h> // wchar_t
|
||||
|
||||
#include "allocator.h"
|
||||
|
||||
#include <wchar.h> // wchar_t
|
||||
|
||||
namespace bx
|
||||
{
|
||||
/// Non-zero-terminated string view.
|
||||
@@ -179,7 +178,7 @@ namespace bx
|
||||
// Finds identifier.
|
||||
const char* findIdentifierMatch(const char* _str, const char* _word);
|
||||
|
||||
// Finds any identifier from NULL terminated array of identifiers.
|
||||
/// Finds any identifier from NULL terminated array of identifiers.
|
||||
const char* findIdentifierMatch(const char* _str, const char* _words[]);
|
||||
|
||||
/// Cross platform implementation of vsnprintf that returns number of
|
||||
|
||||
Reference in New Issue
Block a user