From 054a3165d743397e62b520080445508bbbee32b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 7 Feb 2017 22:17:58 -0800 Subject: [PATCH] Cleanup. --- include/bx/bx.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/bx.h b/include/bx/bx.h index df11450..ea97d0d 100644 --- a/include/bx/bx.h +++ b/include/bx/bx.h @@ -37,6 +37,9 @@ namespace bx template void xchg(Ty& _a, Ty& _b); + /// + void xchg(void* _a, void* _b, size_t _numBytes); + // http://cnicholson.net/2011/01/stupid-c-tricks-a-better-sizeof_array/ template char (&COUNTOF_REQUIRES_ARRAY_ARGUMENT(const T(&)[N]) )[N];