diff --git a/RecastAlloc_8h_source.html b/RecastAlloc_8h_source.html
index ace9da70..658f351f 100644
--- a/RecastAlloc_8h_source.html
+++ b/RecastAlloc_8h_source.html
@@ -509,7 +509,7 @@ $(document).ready(function(){initNavTree('RecastAlloc_8h_source.html',''); initR
#define rcLikely(x)
Macros to hint to the compiler about the likeliest branch.
Definition RecastAlloc.h:85
void rcAllocSetCustom(rcAllocFunc *allocFunc, rcFreeFunc *freeFunc)
Sets the base custom allocation functions to be used by Recast.
Definition RecastAlloc.cpp:34
-#define rcAssert(expression)
Definition RecastAssert.h:44
+#define rcAssert(expression)
Definition RecastAssert.h:41
Legacy class. Prefer rcVector<int>.
Definition RecastAlloc.h:368
void clear()
Definition RecastAlloc.h:375
int pop()
Definition RecastAlloc.h:376
diff --git a/RecastAssert_8cpp.html b/RecastAssert_8cpp.html
index 1df8178a..fddfd2ab 100644
--- a/RecastAssert_8cpp.html
+++ b/RecastAssert_8cpp.html
@@ -104,7 +104,7 @@ $(document).ready(function(){initNavTree('RecastAssert_8cpp.html',''); initResiz
|
| void | rcAssertFailSetCustom (rcAssertFailFunc *assertFailFunc) |
-| | Sets the base custom assertion failure function to be used by Recast.
|
+| | Sets the base custom assertion failure callback function to be used by Recast.
|
| |
| rcAssertFailFunc * | rcAssertFailGetCustom () |
| | Gets the base custom assertion failure function to be used by Recast.
|
@@ -151,7 +151,7 @@ Variables
-
Sets the base custom assertion failure function to be used by Recast.
+
Sets the base custom assertion failure callback function to be used by Recast.
- Parameters
-
| [in] | assertFailFunc | The function to be used in case of failure of dtAssert |
diff --git a/RecastAssert_8h.html b/RecastAssert_8h.html
index 68f7a6a4..15cb7f02 100644
--- a/RecastAssert_8h.html
+++ b/RecastAssert_8h.html
@@ -112,13 +112,13 @@ Macros
|
| typedef void() | rcAssertFailFunc(const char *expression, const char *file, int line) |
-| | An assertion failure function.
|
+| | An assertion failure callback function.
|
| |
|
| void | rcAssertFailSetCustom (rcAssertFailFunc *assertFailFunc) |
-| | Sets the base custom assertion failure function to be used by Recast.
|
+| | Sets the base custom assertion failure callback function to be used by Recast.
|
| |
| rcAssertFailFunc * | rcAssertFailGetCustom () |
| | Gets the base custom assertion failure function to be used by Recast.
|
@@ -145,8 +145,8 @@ Functions
if (failFunc == NULL) { assert(expression); } \
else if (!(expression)) { (*failFunc)(#expression, __FILE__, __LINE__); } \
}
-void() rcAssertFailFunc(const char *expression, const char *file, int line)
An assertion failure function.
Definition RecastAssert.h:34
-rcAssertFailFunc * rcAssertFailGetCustom()
Gets the base custom assertion failure function to be used by Recast.
Definition RecastAssert.cpp:30
+void() rcAssertFailFunc(const char *expression, const char *file, int line)
An assertion failure callback function.
Definition RecastAssert.h:27
+rcAssertFailFunc * rcAssertFailGetCustom()
Gets the base custom assertion failure function to be used by Recast.
Definition RecastAssert.cpp:28
@@ -163,8 +163,16 @@ Functions
-
An assertion failure function.
-
- See also
- rcAssertFailSetCustom
+
An assertion failure callback function.
+
- Parameters
-
+
+ | [in] | expression | Asserted expression. |
+ | [in] | file | Filename of the failed assertion. |
+ | [in] | line | Line number of the failed assertion. |
+
+
+
+
- See also
- rcAssertFailSetCustom
@@ -204,7 +212,7 @@ Functions
-
Sets the base custom assertion failure function to be used by Recast.
+
Sets the base custom assertion failure callback function to be used by Recast.
- Parameters
-
| [in] | assertFailFunc | The function to be used in case of failure of dtAssert |
diff --git a/RecastAssert_8h_source.html b/RecastAssert_8h_source.html
index b4ecbc38..fbbc3463 100644
--- a/RecastAssert_8h_source.html
+++ b/RecastAssert_8h_source.html
@@ -122,38 +122,31 @@ $(document).ready(function(){initNavTree('RecastAssert_8h_source.html',''); init
- 22#ifdef RC_DISABLE_ASSERTS
-
-
- 25# define rcAssert(x) do { (void)sizeof(x); } while ((void)(__LINE__==-1), false)
-
-
+
-
-
-
-
+
+
+
-
-
-
-
-
-
-
44# define rcAssert(expression) \
-
-
46 rcAssertFailFunc* failFunc = rcAssertFailGetCustom(); \
-
47 if (failFunc == NULL) { assert(expression); } \
-
48 else if (!(expression)) { (*failFunc)(#expression, __FILE__, __LINE__); } \
-
+
36#ifdef RC_DISABLE_ASSERTS
+
+
38# define rcAssert(x) do { (void)sizeof(x); } while ((void)(__LINE__==-1), false)
+
+
+
+
41# define rcAssert(expression) \
+
+
43 rcAssertFailFunc* failFunc = rcAssertFailGetCustom(); \
+
44 if (failFunc == NULL) { assert(expression); } \
+
45 else if (!(expression)) { (*failFunc)(#expression, __FILE__, __LINE__); } \
+
-
-
-
-
-
void() rcAssertFailFunc(const char *expression, const char *file, int line)
An assertion failure function.
Definition RecastAssert.h:34
-
rcAssertFailFunc * rcAssertFailGetCustom()
Gets the base custom assertion failure function to be used by Recast.
Definition RecastAssert.cpp:30
-
void rcAssertFailSetCustom(rcAssertFailFunc *assertFailFunc)
Sets the base custom assertion failure function to be used by Recast.
Definition RecastAssert.cpp:25
+
+
+
+
void() rcAssertFailFunc(const char *expression, const char *file, int line)
An assertion failure callback function.
Definition RecastAssert.h:27
+
rcAssertFailFunc * rcAssertFailGetCustom()
Gets the base custom assertion failure function to be used by Recast.
Definition RecastAssert.cpp:28
+
void rcAssertFailSetCustom(rcAssertFailFunc *assertFailFunc)
Sets the base custom assertion failure callback function to be used by Recast.
Definition RecastAssert.cpp:23