From 1d01212559cbb83b1987e4626aa8fbb49ec94787 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 2 Jun 2017 00:26:44 +0200 Subject: [PATCH] Update doc. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a5f92df..a1a9e32c 100644 --- a/README.md +++ b/README.md @@ -1920,6 +1920,11 @@ Swap the values of 'a' and 'b'. 'a' and 'b' are of type 'type'. a and b shall no Check if 'a' can be assigned to a temporary of type 'type' and returns this temporary. If it cannot, the compilation failed. +##### M\_CONST\_CAST(type, a) + +Check if 'a' can be properly casted to (const type *) and returns this casted pointer if possible. +If it cannot, the compilation failed. + ##### M\_TYPE\_FROM\_FIELD(type, ptr, fieldType, field) Assuming 'ptr' is a pointer to a fieldType object which is stored within a structure of type 'type' @@ -2153,7 +2158,7 @@ The macro can : * throw an exception (In this case, the state of the object is unchanged), * set a global error variable and return. -NOTE: The last case is not 100% supported. +NOTE: The last case is not currently supported. ##### void M\_ASSERT\_INIT\_FAILURE(expression)